From 5a24ee1493a39e657a6389cabf362c3fd475cf5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Aubert?= Date: Wed, 4 Oct 2017 16:34:03 +0200 Subject: [PATCH] SONAR-9526 Display coverage metrics in the right categories --- .../src/main/js/apps/component-measures/config/domains.js | 2 ++ sonar-core/src/main/resources/org/sonar/l10n/core.properties | 1 + 2 files changed, 3 insertions(+) diff --git a/server/sonar-web/src/main/js/apps/component-measures/config/domains.js b/server/sonar-web/src/main/js/apps/component-measures/config/domains.js index a3ffba8f56c..31c1d7d88dc 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/config/domains.js +++ b/server/sonar-web/src/main/js/apps/component-measures/config/domains.js @@ -75,6 +75,7 @@ export const domains /*: { [string]: { categories?: Array, order: Array< 'new_lines_to_cover', 'new_uncovered_lines', 'new_line_coverage', + 'new_conditions_to_cover', 'new_uncovered_conditions', 'new_branch_coverage', @@ -83,6 +84,7 @@ export const domains /*: { [string]: { categories?: Array, order: Array< 'lines_to_cover', 'uncovered_lines', 'line_coverage', + 'conditions_to_cover', 'uncovered_conditions', 'branch_coverage', 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 91c457f486c..acd1bd356c3 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -1675,6 +1675,7 @@ metric.new_code_smells.name=New Code Smells metric.new_code_smells.short_name=Code Smells metric.new_conditions_to_cover.description=Conditions to cover on new code metric.new_conditions_to_cover.name=Conditions to Cover on New Code +metric.new_conditions_to_cover.extra_short_name=Conditions to Cover metric.new_coverage.description=Coverage of new/changed code metric.new_coverage.name=Coverage on New Code metric.new_coverage.short_name=Coverage -- 2.39.5