From 0ddd27b0ab4de731855ef1d063218500f1618736 Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Tue, 3 Oct 2017 14:13:06 +0200 Subject: SONAR-9526 Make coverage metrics visible --- .../src/main/java/org/sonar/api/measures/CoreMetrics.java | 10 ++++------ 1 file 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 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"; -- cgit v1.2.3