diff options
-rw-r--r-- | plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties | 2 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties b/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties index af253c4ad35..ffaf6825582 100644 --- a/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties +++ b/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties @@ -795,7 +795,7 @@ metric.comment_lines.description=Number of comment lines metric.comment_lines_density.name=Comments (%) metric.comment_lines_density.description=Comments balanced by ncloc + comment lines -metric.commented_out_code_lines.name=Commented LOCs +metric.commented_out_code_lines.name=Commented-out LOC metric.commented_out_code_lines.description=Commented lines of code metric.complexity.name=Complexity 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 f19ec3b2b91..9daf2fddc81 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 @@ -231,7 +231,7 @@ public final class CoreMetrics { .create(); public static final String COMMENTED_OUT_CODE_LINES_KEY = "commented_out_code_lines"; - public static final Metric COMMENTED_OUT_CODE_LINES = new Metric.Builder(COMMENTED_OUT_CODE_LINES_KEY, "Commented LOCs", Metric.ValueType.INT) + public static final Metric COMMENTED_OUT_CODE_LINES = new Metric.Builder(COMMENTED_OUT_CODE_LINES_KEY, "Commented-out LOC", Metric.ValueType.INT) .setDescription("Commented lines of code") .setDirection(Metric.DIRECTION_WORST) .setQualitative(true) |