]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13374 Fix typo in mesure header column.
authorMathieu Suen <mathieu.suen@sonarsource.com>
Mon, 11 May 2020 13:55:05 +0000 (15:55 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 13 May 2020 20:03:49 +0000 (20:03 +0000)
sonar-core/src/main/resources/org/sonar/l10n/core.properties
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index ac445523a142276008e2d51c78c2912f415f704f..197dd5b2431710552e4483f3e254a9fdaded3808 100644 (file)
@@ -2068,8 +2068,8 @@ metric.new_duplicated_blocks.description=Duplicated blocks on new code
 metric.new_duplicated_lines.name=Duplicated Lines on New Code
 metric.new_duplicated_lines.extra_short_name=Duplicated Lines
 metric.new_duplicated_lines.description=Duplicated Lines on New Code
-metric.new_duplicated_lines_density.description=Duplicated lines on new code balanced by statements
-metric.new_duplicated_lines_density.name=Duplicated Lines on New Code
+metric.new_duplicated_lines_density.description=Duplicated lines (%) on new code balanced by statements
+metric.new_duplicated_lines_density.name=Duplicated Lines (%) on New Code
 metric.new_duplicated_lines_density.short_name=Duplications
 metric.new_duplicated_lines_density.extra_short_name=Density
 metric.new_info_violations.description=New Info issues
index 4921e34a853c1d4bc80a9da7b329ba202b413a31..787360de8b43e9fbca8727aa75274aacd393a862 100644 (file)
@@ -756,9 +756,9 @@ public final class CoreMetrics {
   /**
    * @since 6.1
    */
-  public static final Metric<Integer> NEW_DUPLICATED_LINES_DENSITY = new Metric.Builder(NEW_DUPLICATED_LINES_DENSITY_KEY, "Duplicated Lines on New Code",
+  public static final Metric<Integer> NEW_DUPLICATED_LINES_DENSITY = new Metric.Builder(NEW_DUPLICATED_LINES_DENSITY_KEY, "Duplicated Lines (%) on New Code",
     Metric.ValueType.PERCENT)
-      .setDescription("Duplicated lines on new code balanced by statements")
+      .setDescription("Duplicated lines (%) on new code balanced by statements")
       .setDirection(Metric.DIRECTION_WORST)
       .setQualitative(true)
       .setDomain(DOMAIN_DUPLICATIONS)