diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-03-01 14:02:53 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-03-01 14:02:53 +0100 |
commit | 10b2eb451517431d02da2143cfc2958f1a9411be (patch) | |
tree | 14b1dc41abaaefc41817b5c309ed94a35366152b /sonar-plugin-api | |
parent | 98b06f726fb30465113c515e67ea2f6af49398e1 (diff) | |
download | sonarqube-10b2eb451517431d02da2143cfc2958f1a9411be.tar.gz sonarqube-10b2eb451517431d02da2143cfc2958f1a9411be.zip |
SONAR-2218 improve drilldown page in order to display variations
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 7 |
1 files changed, 6 insertions, 1 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 80f9451ec42..f6dac6dbf82 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 @@ -259,6 +259,7 @@ 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) @@ -293,6 +294,7 @@ public final class CoreMetrics { .setDescription("New uncovered lines") .setDirection(Metric.DIRECTION_WORST) .setDomain(DOMAIN_TESTS) + .setHidden(true) .setFormula(new SumChildValuesFormula(false)) .create(); @@ -313,6 +315,7 @@ public final class CoreMetrics { .setQualitative(true) .setWorstValue(0.0) .setBestValue(100.0) + .setHidden(true) .setDomain(DOMAIN_TESTS) .create(); @@ -354,6 +357,7 @@ public final class CoreMetrics { .setDescription("New uncovered conditions") .setDirection(Metric.DIRECTION_WORST) .setDomain(DOMAIN_TESTS) + .setHidden(true) .setFormula(new SumChildValuesFormula(false)) .create(); @@ -370,10 +374,11 @@ public final class CoreMetrics { public static final String NEW_BRANCH_COVERAGE_KEY = "new_branch_coverage"; public static final Metric NEW_BRANCH_COVERAGE = new Metric.Builder(NEW_BRANCH_COVERAGE_KEY, Metric.ValueType.PERCENT) - .setName("NEw branch coverage") + .setName("New branch coverage") .setDescription("Branch coverage of new/changed code") .setDirection(Metric.DIRECTION_BETTER) .setQualitative(true) + .setHidden(true) .setDomain(DOMAIN_TESTS) .setWorstValue(0.0) .setBestValue(100.0) |