]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4341 Replace issues metrics by violation
authorJulien Lancelot <julien.lancelot@gmail.com>
Thu, 23 May 2013 16:04:03 +0000 (18:04 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Thu, 23 May 2013 16:04:03 +0000 (18:04 +0200)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues_by_severity.html.erb

index 9f70cd09f12d81c3c572a5c3cb4f60a6050bd908..784053017e08f7e37a5b8e5e59946a34b5f93606 100644 (file)
@@ -1,12 +1,12 @@
 <%
-  issues = @snapshot.measure('issues') # TODO replace by violations
-  false_positive_issues = @snapshot.measure('false_positive_issues') # TODO replace by false_positive_reviews
-  blocker_issues = @snapshot.measure('blocker_issues') # TODO replace by violations...
-  critical_issues = @snapshot.measure('critical_issues')
-  major_issues = @snapshot.measure('major_issues')
-  minor_issues = @snapshot.measure('minor_issues')
-  info_issues = @snapshot.measure('info_issues')
-  new_issues = @snapshot.measure('new_issues')
+  issues = @snapshot.measure('violations')
+  false_positive_issues = @snapshot.measure('false_positive_violations')
+  blocker_issues = @snapshot.measure('blocker_violations')
+  critical_issues = @snapshot.measure('critical_violations')
+  major_issues = @snapshot.measure('major_violations')
+  minor_issues = @snapshot.measure('minor_violations')
+  info_issues = @snapshot.measure('info_violations')
+  new_issues = @snapshot.measure('new_violations')
 %>
 <table width="100%">
   <tr>