From: Teryk Bellahsene Date: Tue, 3 Oct 2017 12:15:53 +0000 (+0200) Subject: SONAR-9840 Flip sort of 'Lines to Cover' in Measures X-Git-Tag: 6.6-RC1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b6ba98d499e5a3a84e4939c5b6c2fa9a300b42eb;p=sonarqube.git SONAR-9840 Flip sort of 'Lines to Cover' in Measures --- 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 4f83f491f7e..1c09e84506c 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 @@ -593,7 +593,7 @@ public final class CoreMetrics { */ public static final Metric LINES_TO_COVER = new Metric.Builder(LINES_TO_COVER_KEY, "Lines to Cover", Metric.ValueType.INT) .setDescription("Lines to cover") - .setDirection(Metric.DIRECTION_BETTER) + .setDirection(Metric.DIRECTION_WORST) .setQualitative(false) .setDomain(DOMAIN_COVERAGE) .create();