]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9840 Flip sort of 'Lines to Cover' in Measures
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Tue, 3 Oct 2017 12:15:53 +0000 (14:15 +0200)
committerTeryk Bellahsene <teryk@users.noreply.github.com>
Thu, 5 Oct 2017 09:21:25 +0000 (11:21 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index 4f83f491f7ed5f334982e56fca95035fa92b51db..1c09e84506cfc77c6fb9f7d2ae15f3c89e4f556d 100644 (file)
@@ -593,7 +593,7 @@ public final class CoreMetrics {
    */
   public static final Metric<Integer> 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();