From 78b3c4c0badeadef7bed763a15cd9e3318a4fb3e Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Mon, 30 May 2011 01:11:56 +0400 Subject: [PATCH] SONAR-2485 Best value should be set for lcom4 to 1 --- .../src/main/java/org/sonar/api/measures/CoreMetrics.java | 1 + 1 file changed, 1 insertion(+) 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 2cf3d598b40..9dd426c6066 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 @@ -939,6 +939,7 @@ public final class CoreMetrics { .setDirection(Metric.DIRECTION_WORST) .setQualitative(true) .setDomain(DOMAIN_DESIGN) + .setBestValue(1.0) .setFormula(new WeightedMeanAggregationFormula(CoreMetrics.FILES, false)) .create(); -- 2.39.5