]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3289 Mark metric 'class_complexity_distribution' as deprecated
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 20 Mar 2012 17:32:58 +0000 (21:32 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 20 Mar 2012 17:32:58 +0000 (21:32 +0400)
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index 47fa9a861f4779d16fff6a91f46837dac45ec8dc..87ac57a47b3aaf2e1cdcde370a0eb20a54438970 100644 (file)
@@ -326,7 +326,14 @@ public final class CoreMetrics {
       .setFormula(new AverageComplexityFormula(CoreMetrics.PARAGRAPHS))
       .create();
 
+  /**
+   * @deprecated in 2.15 - see SONAR-3289
+   */
   public static final String CLASS_COMPLEXITY_DISTRIBUTION_KEY = "class_complexity_distribution";
+
+  /**
+   * @deprecated in 2.15 - see SONAR-3289
+   */
   public static final Metric CLASS_COMPLEXITY_DISTRIBUTION = new Metric.Builder(CLASS_COMPLEXITY_DISTRIBUTION_KEY, "Classes distribution /complexity", Metric.ValueType.DISTRIB)
       .setDescription("Classes distribution /complexity")
       .setDirection(Metric.DIRECTION_NONE)