From a8aa40bd9bd4fea44111def143fa792b07b6013d Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 7 Mar 2019 00:11:28 +0100 Subject: [PATCH] SONAR-11802 fix description of metric "sqale_index" --- sonar-core/src/main/resources/org/sonar/l10n/core.properties | 2 +- .../src/test/java/org/sonar/core/i18n/DefaultI18nTest.java | 2 +- .../src/main/java/org/sonar/api/measures/CoreMetrics.java | 2 +- 3 files changed, 3 insertions(+), 3 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 9ba97fab7d9..57ef2a7c71a 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -1980,7 +1980,7 @@ metric.skipped_tests.short_name=Skipped metric.sqale_debt_ratio.description=Ratio of the actual technical debt compared to the estimated cost to develop the whole source code from scratch metric.sqale_debt_ratio.name=Technical Debt Ratio metric.sqale_debt_ratio.short_name=Debt Ratio -metric.sqale_index.description=Total effort (in days) to fix all the issues on the component and therefore to comply to all the requirements. +metric.sqale_index.description=Total effort (in hours) to fix all the issues on the component and therefore to comply to all the requirements. metric.sqale_index.name=Technical Debt metric.sqale_index.short_name=Debt metric.sqale_rating.description=A-to-E rating based on the technical debt ratio diff --git a/sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java b/sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java index ad6ebf9a5e5..aedf30248af 100644 --- a/sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java +++ b/sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java @@ -41,7 +41,7 @@ public class DefaultI18nTest { private TestSystem2 system2 = new TestSystem2(); - DefaultI18n underTest; + private DefaultI18n underTest; @Before public void before() { 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 6456a70b0c4..b04a30671ca 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 @@ -1935,7 +1935,7 @@ public final class CoreMetrics { */ // TODO should be renamed to MAINTAINABILITY_REMEDIATION_EFFORT public static final Metric TECHNICAL_DEBT = new Metric.Builder(TECHNICAL_DEBT_KEY, "Technical Debt", Metric.ValueType.WORK_DUR) - .setDescription("Total effort (in days) to fix all the issues on the component and therefore to comply to all the requirements.") + .setDescription("Total effort (in hours) to fix all the issues on the component and therefore to comply to all the requirements.") .setDomain(DOMAIN_MAINTAINABILITY) .setDirection(Metric.DIRECTION_WORST) .setOptimizedBestValue(true) -- 2.39.5