From 6166547c9aed424caea662a7208cbd6a5c265151 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Mon, 7 Mar 2011 16:59:29 +0100 Subject: SONAR-2218 add drilldown on new lines to cover + add period select-box on measures drilldown --- sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sonar-plugin-api') 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) -- cgit v1.2.3