From fa4f74a37b40dd810ce556bdddb450aa82f8dc1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Fri, 25 Sep 2015 17:36:41 +0200 Subject: [PATCH] SONAR-6859 update description of sonar.technicalDebt.ratingGrid --- .../java/org/sonar/core/config/DebtProperties.java | 10 +++++----- 1 file 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(), -- 2.39.5