aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-10-12 15:05:23 +0200
committerTeryk Bellahsene <teryk@users.noreply.github.com>2017-10-16 09:27:14 +0200
commit6658ba9fc4cc8cf99c95ad33c0be6786e15348e8 (patch)
tree4c1966d33553b2e70a17ffca4919296606c1e44f
parent40605449fcf7a1bf44129dfe7e4acd606829fedc (diff)
downloadsonarqube-6658ba9fc4cc8cf99c95ad33c0be6786e15348e8.tar.gz
sonarqube-6658ba9fc4cc8cf99c95ad33c0be6786e15348e8.zip
SONAR-9922 Metric new_lines renamed from 'Lines of New Code' to 'New Lines'
-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 ecd566e2aa7..1ac6ced2491 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -1728,8 +1728,8 @@ metric.new_major_violations.description=New Major issues
metric.new_major_violations.name=New Major Issues
metric.new_minor_violations.description=New Minor issues
metric.new_minor_violations.name=New Minor Issues
-metric.new_lines.name=Lines of New Code
-metric.new_lines.description=Non commenting lines of new code
+metric.new_lines.name=New Lines
+metric.new_lines.description=New lines
metric.new_lines.short_name=Lines
metric.new_overall_branch_coverage.description=Condition coverage of new/changed code by all tests
metric.new_overall_branch_coverage.name=Overall Condition Coverage on New Code
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 1c09e84506c..c1c82356635 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
@@ -138,8 +138,8 @@ public final class CoreMetrics {
/**
* @since 6.1
*/
- public static final Metric<Integer> NEW_LINES = new Metric.Builder(NEW_LINES_KEY, "Lines of New Code", Metric.ValueType.INT)
- .setDescription("Non commenting lines of new code")
+ public static final Metric<Integer> NEW_LINES = new Metric.Builder(NEW_LINES_KEY, "New Lines", Metric.ValueType.INT)
+ .setDescription("New lines")
.setDirection(Metric.DIRECTION_WORST)
.setQualitative(false)
.setDomain(DOMAIN_SIZE)