]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2485 Best value should be set for lcom4 to 1
authorEvgeny Mandrikov <mandrikov@gmail.com>
Sun, 29 May 2011 21:11:56 +0000 (01:11 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Sun, 29 May 2011 21:11:56 +0000 (01:11 +0400)
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index 2cf3d598b402f2d18e8523025feb18248cc1778a..9dd426c6066b624681c8970ddbe72fd8f2a997fd 100644 (file)
@@ -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();