]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4346 Remove deprecated comment_blank_lines metric from widget
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 17 Jul 2013 13:19:59 +0000 (15:19 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Wed, 17 Jul 2013 13:20:37 +0000 (15:20 +0200)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/documentation_comments_widget.html.erb

index f456c4d090a3a5b997b1b3a17dfbfbe4cca50205..1474c837d456369e30225f6ab57c0385a93496e0 100644 (file)
@@ -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>
             <%= 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>