aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-07-28 10:13:14 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-07-28 10:14:51 +0200
commit831f128056cdd575e54d1635943833cebf898fb4 (patch)
tree9ae638ce6392343cdda286412c6a0a8155cafd79
parente61bc749f1de417d48e78a2a7e80463aea414512 (diff)
downloadsonarqube-831f128056cdd575e54d1635943833cebf898fb4.tar.gz
sonarqube-831f128056cdd575e54d1635943833cebf898fb4.zip
Fix label of metric commented_out_code_lines
-rw-r--r--plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java2
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)