aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-16 17:29:57 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-16 17:33:28 +0100
commit2b110947560917854887876ab202468fccaebdd2 (patch)
tree19a4ac5fd3e48d2c85e5e343284d2b5aec4763f2 /sonar-plugin-api
parentccfb41a2957432447cd21fcdba764f00b1090f15 (diff)
downloadsonarqube-2b110947560917854887876ab202468fccaebdd2.tar.gz
sonarqube-2b110947560917854887876ab202468fccaebdd2.zip
Add new_coverage metrics to filters
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
index 4cef9962936..7b6163bd396 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
@@ -251,7 +251,6 @@ public final class CoreMetrics {
.setDescription("Coverage of new/changed code")
.setDirection(Metric.DIRECTION_BETTER)
.setQualitative(true)
- .setHidden(true)
.setDomain(DOMAIN_TESTS)
.setWorstValue(0.0)
.setBestValue(100.0)
@@ -274,7 +273,6 @@ public final class CoreMetrics {
.setQualitative(false)
.setDomain(DOMAIN_TESTS)
.setFormula(new SumChildValuesFormula(false))
- .setHidden(true)
.create();
public static final String UNCOVERED_LINES_KEY = "uncovered_lines";
@@ -290,7 +288,6 @@ public final class CoreMetrics {
.setDescription("New uncovered lines")
.setDirection(Metric.DIRECTION_WORST)
.setDomain(DOMAIN_TESTS)
- .setHidden(true)
.setFormula(new SumChildValuesFormula(false))
.create();
@@ -309,7 +306,6 @@ public final class CoreMetrics {
.setQualitative(true)
.setWorstValue(0.0)
.setBestValue(100.0)
- .setHidden(true)
.setDomain(DOMAIN_TESTS)
.create();
@@ -331,7 +327,6 @@ public final class CoreMetrics {
.setDescription("New conditions to cover")
.setDomain(DOMAIN_TESTS)
.setFormula(new SumChildValuesFormula(false))
- .setHidden(true)
.create();
public static final String UNCOVERED_CONDITIONS_KEY = "uncovered_conditions";
@@ -347,7 +342,6 @@ public final class CoreMetrics {
.setDescription("New uncovered conditions")
.setDirection(Metric.DIRECTION_WORST)
.setDomain(DOMAIN_TESTS)
- .setHidden(true)
.setFormula(new SumChildValuesFormula(false))
.create();
@@ -366,7 +360,6 @@ public final class CoreMetrics {
.setDescription("Branch coverage of new/changed code")
.setDirection(Metric.DIRECTION_BETTER)
.setQualitative(true)
- .setHidden(true)
.setDomain(DOMAIN_TESTS)
.setWorstValue(0.0)
.setBestValue(100.0)