aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-10-03 14:15:53 +0200
committerTeryk Bellahsene <teryk@users.noreply.github.com>2017-10-05 11:21:25 +0200
commitb6ba98d499e5a3a84e4939c5b6c2fa9a300b42eb (patch)
treec21e630fdef52286db4a501017f6584b8b6582db /sonar-plugin-api
parent0ddd27b0ab4de731855ef1d063218500f1618736 (diff)
downloadsonarqube-b6ba98d499e5a3a84e4939c5b6c2fa9a300b42eb.tar.gz
sonarqube-b6ba98d499e5a3a84e4939c5b6c2fa9a300b42eb.zip
SONAR-9840 Flip sort of 'Lines to Cover' in Measures
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java2
1 files changed, 1 insertions, 1 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 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<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();