From: David Gageot
Date: Fri, 15 Jun 2012 10:12:40 +0000 (+0200)
Subject: SONAR-3560 Remove the "lines_to_cover" metric from Code coverage widget
X-Git-Tag: 3.2~320
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0f580d01542078b59532642add4a0aba7651c79e;p=sonarqube.git
SONAR-3560 Remove the "lines_to_cover" metric from Code coverage widget
---
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