diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2017-10-03 14:13:06 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk@users.noreply.github.com> | 2017-10-05 11:21:25 +0200 |
commit | 0ddd27b0ab4de731855ef1d063218500f1618736 (patch) | |
tree | 441addb7f51fbad885f57d6e10d1019fae1f6776 | |
parent | 56c3ad2055f94d241e1b3d757e165c2bfdfc984f (diff) | |
download | sonarqube-0ddd27b0ab4de731855ef1d063218500f1618736.tar.gz sonarqube-0ddd27b0ab4de731855ef1d063218500f1618736.zip |
SONAR-9526 Make coverage metrics visible
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 10 |
1 files changed, 4 insertions, 6 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 6836036b198..4f83f491f7e 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 @@ -673,18 +673,16 @@ public final class CoreMetrics { /** * Use {@link CoverageMeasuresBuilder} to build measure for this metric. */ - public static final Metric<Integer> CONDITIONS_TO_COVER = new Metric.Builder(CONDITIONS_TO_COVER_KEY, "Branches to Cover", Metric.ValueType.INT) - .setDescription("Branches to cover") + public static final Metric<Integer> CONDITIONS_TO_COVER = new Metric.Builder(CONDITIONS_TO_COVER_KEY, "Conditions to Cover", Metric.ValueType.INT) + .setDescription("Conditions to cover") .setDomain(DOMAIN_COVERAGE) - .setHidden(true) .create(); public static final String NEW_CONDITIONS_TO_COVER_KEY = "new_conditions_to_cover"; - public static final Metric<Integer> NEW_CONDITIONS_TO_COVER = new Metric.Builder(NEW_CONDITIONS_TO_COVER_KEY, "Branches to Cover on New Code", Metric.ValueType.INT) - .setDescription("Branches to cover on New Code") + public static final Metric<Integer> NEW_CONDITIONS_TO_COVER = new Metric.Builder(NEW_CONDITIONS_TO_COVER_KEY, "Conditions to Cover on New Code", Metric.ValueType.INT) + .setDescription("Conditions to cover on new code") .setDomain(DOMAIN_COVERAGE) .setDeleteHistoricalData(true) - .setHidden(true) .create(); public static final String UNCOVERED_CONDITIONS_KEY = "uncovered_conditions"; |