aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-07-17 15:19:59 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2013-07-17 15:20:37 +0200
commit7275d3566badfecb3d9352433acc432934bee0d5 (patch)
tree3c335bd35a96729f49088c0c715e24b89797b976 /plugins
parentf50240d53b1f6f67daecfeabb26bd45af0072f55 (diff)
downloadsonarqube-7275d3566badfecb3d9352433acc432934bee0d5.tar.gz
sonarqube-7275d3566badfecb3d9352433acc432934bee0d5.zip
SONAR-4346 Remove deprecated comment_blank_lines metric from widget
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb
index f456c4d090a..1474c837d45 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb
@@ -5,7 +5,6 @@
public_undocumented_api=measure('public_undocumented_api')
comment_lines=measure('comment_lines')
comment_lines_density=measure('comment_lines_density')
- comment_blank_lines=measure('comment_blank_lines')
%>
<table width="100%">
<tbody>
@@ -40,13 +39,6 @@
<%= format_measure(comment_lines,:url => url_for_drilldown(comment_lines), :suffix => message('widget.documentation_comments.lines.suffix'))%>
<%= dashboard_configuration.selected_period? ? format_variation(comment_lines) : trend_icon(comment_lines) -%>
</p>
- <%
- if comment_blank_lines && comment_blank_lines.value>0
- %>
- <p>+<%= format_measure(comment_blank_lines, :suffix => message('widget.documentation_comments.blank.suffix'), :url => url_for_drilldown(comment_blank_lines)) %>
- <%= dashboard_configuration.selected_period? ? format_variation(comment_blank_lines) : trend_icon(comment_blank_lines) -%>
- </p>
- <% end %>
</div>
</td>
</tr>