aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Suen <mathieu.suen@sonarsource.com>2020-05-11 15:55:05 +0200
committersonartech <sonartech@sonarsource.com>2020-05-13 20:03:49 +0000
commit5397922aac9a0567d1cf0e3f5fc7958d00e7d9ef (patch)
treebb9790e3360ca5e7f91c6986f2baae630de83c58
parent719183146b22ffef5b26f4c77698b2d3e35385b5 (diff)
downloadsonarqube-5397922aac9a0567d1cf0e3f5fc7958d00e7d9ef.tar.gz
sonarqube-5397922aac9a0567d1cf0e3f5fc7958d00e7d9ef.zip
SONAR-13374 Fix typo in mesure header column.
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties4
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
index ac445523a14..197dd5b2431 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -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
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 4921e34a853..787360de8b4 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
@@ -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)