From 0f580d01542078b59532642add4a0aba7651c79e Mon Sep 17 00:00:00 2001 From: David Gageot Date: Fri, 15 Jun 2012 12:12:40 +0200 Subject: [PATCH] SONAR-3560 Remove the "lines_to_cover" metric from Code coverage widget --- .../resources/org/sonar/plugins/core/widgets/coverage.html.erb | 3 --- .../src/main/resources/org/sonar/l10n/core.properties | 1 - 2 files changed, 4 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb index 3c0b2ce2a01..6f9c3e5a1a8 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb @@ -49,9 +49,6 @@ <%= format_variation(new_coverage, :style => 'none', :default => '-') -%>

<% end %> -

- <%= format_variation(new_lines_to_cover_measure, :style => 'none', :default => '-') -%><%= message('widget.code_coverage.lines_to_cover.suffix') -%> -

<% if new_line_coverage %>

<%= format_variation(new_line_coverage, :style => 'none', :default => '-') -%><%= message('widget.code_coverage.line_coverage.suffix') -%> diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties index ae85715a77a..4ce9fc09b35 100644 --- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -606,7 +606,6 @@ widget.code_coverage.name=Code coverage widget.code_coverage.description=Reports on units tests and code coverage by unit tests. widget.code_coverage.line_coverage.suffix=\ line coverage widget.code_coverage.branch_coverage.suffix=\ branch coverage -widget.code_coverage.lines_to_cover.suffix=\ lines to cover widget.code_coverage.on_new_code=On new code widget.code_coverage.no_new_lines_to_cover=No new lines to cover widget.code_coverage.test_success=Unit test success -- 2.39.5