diff options
author | Léo Geoffroy <leo.geoffroy@sonarsource.com> | 2024-08-09 11:43:28 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-08-26 20:03:05 +0000 |
commit | d3704d8bc1c5eeb059ef8f3a4d62bd0a59b05e2e (patch) | |
tree | d6608c857ebbf00f0ebb731ece1db9a62b92e73d /server/sonar-server-common | |
parent | fb284560d1afdfb11cc77a4600cb995f98a33693 (diff) | |
download | sonarqube-d3704d8bc1c5eeb059ef8f3a4d62bd0a59b05e2e.tar.gz sonarqube-d3704d8bc1c5eeb059ef8f3a4d62bd0a59b05e2e.zip |
SONAR-22727 Add new software qualities remediation efforts measures
Diffstat (limited to 'server/sonar-server-common')
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/metric/SoftwareQualitiesMetrics.java b/server/sonar-server-common/src/main/java/org/sonar/server/metric/SoftwareQualitiesMetrics.java index b5d037ddd04..229e9ebb76f 100644 --- a/server/sonar-server-common/src/main/java/org/sonar/server/metric/SoftwareQualitiesMetrics.java +++ b/server/sonar-server-common/src/main/java/org/sonar/server/metric/SoftwareQualitiesMetrics.java @@ -208,7 +208,7 @@ public class SoftwareQualitiesMetrics implements Metrics { public static final String SOFTWARE_QUALITY_RELIABILITY_REMEDIATION_EFFORT_KEY = "software_quality_reliability_remediation_effort"; - public static final Metric<Long> RELIABILITY_REMEDIATION_EFFORT = + public static final Metric<Long> SOFTWARE_QUALITY_RELIABILITY_REMEDIATION_EFFORT = new Metric.Builder(SOFTWARE_QUALITY_RELIABILITY_REMEDIATION_EFFORT_KEY, "Software Quality Reliability Remediation Effort", Metric.ValueType.WORK_DUR) .setDescription("Software quality reliability remediation effort") @@ -275,7 +275,7 @@ public class SoftwareQualitiesMetrics implements Metrics { NEW_SOFTWARE_QUALITY_MAINTAINABILITY_REMEDIATION_EFFORT, SOFTWARE_QUALITY_SECURITY_REMEDIATION_EFFORT, NEW_SOFTWARE_QUALITY_SECURITY_REMEDIATION_EFFORT, - RELIABILITY_REMEDIATION_EFFORT, + SOFTWARE_QUALITY_RELIABILITY_REMEDIATION_EFFORT, NEW_SOFTWARE_QUALITY_RELIABILITY_REMEDIATION_EFFORT, SOFTWARE_QUALITY_MAINTAINABILITY_DEBT_RATIO, NEW_SOFTWARE_QUALITY_MAINTAINABILITY_DEBT_RATIO diff --git a/server/sonar-server-common/src/test/java/org/sonar/server/metric/SoftwareQualitiesMetricsTest.java b/server/sonar-server-common/src/test/java/org/sonar/server/metric/SoftwareQualitiesMetricsTest.java index 717c88af58a..b4315ffaa51 100644 --- a/server/sonar-server-common/src/test/java/org/sonar/server/metric/SoftwareQualitiesMetricsTest.java +++ b/server/sonar-server-common/src/test/java/org/sonar/server/metric/SoftwareQualitiesMetricsTest.java @@ -41,7 +41,7 @@ class SoftwareQualitiesMetricsTest { SoftwareQualitiesMetrics.NEW_SOFTWARE_QUALITY_MAINTAINABILITY_REMEDIATION_EFFORT, SoftwareQualitiesMetrics.SOFTWARE_QUALITY_SECURITY_REMEDIATION_EFFORT, SoftwareQualitiesMetrics.NEW_SOFTWARE_QUALITY_SECURITY_REMEDIATION_EFFORT, - SoftwareQualitiesMetrics.RELIABILITY_REMEDIATION_EFFORT, + SoftwareQualitiesMetrics.SOFTWARE_QUALITY_RELIABILITY_REMEDIATION_EFFORT, SoftwareQualitiesMetrics.NEW_SOFTWARE_QUALITY_RELIABILITY_REMEDIATION_EFFORT, SoftwareQualitiesMetrics.SOFTWARE_QUALITY_MAINTAINABILITY_DEBT_RATIO, SoftwareQualitiesMetrics.NEW_SOFTWARE_QUALITY_MAINTAINABILITY_DEBT_RATIO); |