From b6ba98d499e5a3a84e4939c5b6c2fa9a300b42eb Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Tue, 3 Oct 2017 14:15:53 +0200 Subject: [PATCH] SONAR-9840 Flip sort of 'Lines to Cover' in Measures --- .../src/main/java/org/sonar/api/measures/CoreMetrics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5