From: Teryk Bellahsene Date: Tue, 3 Oct 2017 12:13:06 +0000 (+0200) Subject: SONAR-9526 Make coverage metrics visible X-Git-Tag: 6.6-RC1~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0ddd27b0ab4de731855ef1d063218500f1618736;p=sonarqube.git SONAR-9526 Make coverage metrics visible --- 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 CONDITIONS_TO_COVER = new Metric.Builder(CONDITIONS_TO_COVER_KEY, "Branches to Cover", Metric.ValueType.INT) - .setDescription("Branches to cover") + public static final Metric 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 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 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";