aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-07 16:59:29 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-07 16:59:29 +0100
commit6166547c9aed424caea662a7208cbd6a5c265151 (patch)
tree7f56d59bca51ee74f544927409d013a3c125380e /sonar-plugin-api
parent52d932db8a1a5c2c1c4164478dd14e2b4749611c (diff)
downloadsonarqube-6166547c9aed424caea662a7208cbd6a5c265151.tar.gz
sonarqube-6166547c9aed424caea662a7208cbd6a5c265151.zip
SONAR-2218 add drilldown on new lines to cover + add period select-box on measures drilldown
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java3
1 files changed, 2 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 d105ad6fa32..5daca1d7e72 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
@@ -264,7 +264,8 @@ public final class CoreMetrics {
public static final String NEW_LINES_TO_COVER_KEY = "new_lines_to_cover";
public static final Metric NEW_LINES_TO_COVER = new Metric.Builder(NEW_LINES_TO_COVER_KEY, "New lines to cover", Metric.ValueType.INT)
.setDescription("New lines to cover")
- .setDirection(Metric.DIRECTION_BETTER)
+ .setDirection(Metric.DIRECTION_WORST)
+ .setQualitative(false)
.setDomain(DOMAIN_TESTS)
.setFormula(new SumChildValuesFormula(false))
.setHidden(true)