aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorDejan Milisavljevic <dejan.milisavljevic@sonarsource.com>2024-10-24 15:07:49 +0200
committersonartech <sonartech@sonarsource.com>2024-11-05 20:03:01 +0000
commit77a5e05ed4d2ff936dca4752f6d6dffb7e38b6c6 (patch)
tree908da1caaa138f89a113e7df69837bc71b8e73dc /sonar-core
parentcafd76b0f04f88692d8518405d9fdaf3dbab6c45 (diff)
downloadsonarqube-77a5e05ed4d2ff936dca4752f6d6dffb7e38b6c6.tar.gz
sonarqube-77a5e05ed4d2ff936dca4752f6d6dffb7e38b6c6.zip
SONAR-23298 Fix metrics
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/metric/SoftwareQualitiesMetrics.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/metric/SoftwareQualitiesMetrics.java b/sonar-core/src/main/java/org/sonar/core/metric/SoftwareQualitiesMetrics.java
index 66ebb4c776b..aaf2f7b0536 100644
--- a/sonar-core/src/main/java/org/sonar/core/metric/SoftwareQualitiesMetrics.java
+++ b/sonar-core/src/main/java/org/sonar/core/metric/SoftwareQualitiesMetrics.java
@@ -202,7 +202,7 @@ public class SoftwareQualitiesMetrics implements Metrics {
public static final String NEW_SOFTWARE_QUALITY_MAINTAINABILITY_REMEDIATION_EFFORT_KEY =
"new_software_quality_maintainability_remediation_effort";
public static final Metric<Long> NEW_SOFTWARE_QUALITY_MAINTAINABILITY_REMEDIATION_EFFORT =
- new Metric.Builder(NEW_SOFTWARE_QUALITY_MAINTAINABILITY_REMEDIATION_EFFORT_KEY, "Technical Debt Ratio",
+ new Metric.Builder(NEW_SOFTWARE_QUALITY_MAINTAINABILITY_REMEDIATION_EFFORT_KEY, "Added Technical Debt",
Metric.ValueType.WORK_DUR)
.setDescription("Total effort (in minutes) to fix all the maintainability issues on new code on the component and therefore to " +
"comply to all the requirements.")
@@ -279,9 +279,9 @@ public class SoftwareQualitiesMetrics implements Metrics {
public static final String NEW_SOFTWARE_QUALITY_MAINTAINABILITY_DEBT_RATIO_KEY = "new_software_quality_maintainability_debt_ratio";
public static final Metric<Double> NEW_SOFTWARE_QUALITY_MAINTAINABILITY_DEBT_RATIO =
- new Metric.Builder(NEW_SOFTWARE_QUALITY_MAINTAINABILITY_DEBT_RATIO_KEY, "Added Technical Debt",
+ new Metric.Builder(NEW_SOFTWARE_QUALITY_MAINTAINABILITY_DEBT_RATIO_KEY, "Technical Debt Ratio on New Code",
Metric.ValueType.PERCENT)
- .setDescription("Added Technical Debt")
+ .setDescription("Technical Debt Ratio on New Code")
.setDomain(DOMAIN_MAINTAINABILITY)
.setDirection(Metric.DIRECTION_WORST)
.setOptimizedBestValue(true)