aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-09-25 17:36:41 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-09-25 17:37:39 +0200
commitfa4f74a37b40dd810ce556bdddb450aa82f8dc1b (patch)
tree53c48a4657a96873b7e05ca6af9c1d67ffe89d60 /sonar-core
parentd1fb3ab011b159361db1cd3e9fb55120635e70d5 (diff)
downloadsonarqube-fa4f74a37b40dd810ce556bdddb450aa82f8dc1b.tar.gz
sonarqube-fa4f74a37b40dd810ce556bdddb450aa82f8dc1b.zip
SONAR-6859 update description of sonar.technicalDebt.ratingGrid
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java b/sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java
index 47f11ff107b..95008f6d659 100644
--- a/sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java
+++ b/sonar-core/src/main/java/org/sonar/core/config/DebtProperties.java
@@ -55,11 +55,11 @@ class DebtProperties {
PropertyDefinition.builder(CoreProperties.RATING_GRID)
.defaultValue("" + CoreProperties.RATING_GRID_DEF_VALUES)
.name("Rating grid")
- .description("SQALE ratings range from A (very good) to E (very bad). The rating is determined by the value of the Technical Debt Ratio, " +
- "which compares the technical debt on a project to the cost it would take to rewrite the code from scratch. " +
- "The default values for A through D are 0.1,0.2,0.5,1. Anything over 1 is an E. " +
- "Example: assuming the size metric is lines of code (LOC), and the work unit is 30 (minutes to produce 1 LOC), " +
- "a project with a technical debt of 24,000 minutes for 2,500 LOC will have a technical debt ratio of 24000/(30 * 2,500) = 0.32. That yields a SQALE rating of C.")
+ .description("SQALE ratings range from A (very good) to E (very bad). The rating is determined by the value of " +
+ "the Technical Debt Ratio, which compares the technical debt on a project to the cost it would take to rewrite " +
+ "the code from scratch. The default values for A through D are 0.1,0.2,0.5,1. Anything over 1 is an E. " +
+ "Example: assuming the development cost is 30 minutes, a project with a technical debt of 24,000 minutes for " +
+ "2,500 LOC will have a technical debt ratio of 24000/(30 * 2,500) = 0.32. That yields a SQALE rating of C.")
.category(CoreProperties.CATEGORY_TECHNICAL_DEBT)
.deprecatedKey("ratingGrid")
.build(),