All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sonar-plugins.sonar-sonargraph-plugin.3.0.6.source-code.sonargraph_architecture_widget.html.erb Maven / Gradle / Ivy

Go to download

Provides architecture governance features accompanied by metrics about cyclic dependencies and other structural aspects.

There is a newer version: 3.4.2
Show newest version
<%
if measure('sonargraph_architecture_violations')
%>
<% if measure('sonargraph_duplicate_warnings') %> <% end %> <% if measure('sonargraph_threshold_warnings') %> <% end %>

Architecture

Warnings

Sonargraph

<%= format_measure('sonargraph_violating_dependencies', :url => "#{ApplicationController.root_context}/drilldown/violations/#{@project.id}?filter=category&rule=Sonargraph%3Asonargraph.architecture") -%> violating type dependencies <%= tendency_icon(measure('sonargraph_violating_dependencies')) %>

<%= format_measure('sonargraph_all_warnings') -%> total warnings <%= tendency_icon(measure('sonargraph_all_warnings')) %>

<%= format_measure('sonargraph_violating_types', :suffix => ' violating types', :url => "#{ApplicationController.root_context}/drilldown/violations/#{@project.id}?filter=category&rule=Sonargraph%3Asonargraph.architecture") -%> <%= format_measure('sonargraph_violating_types_percent', :prefix => '(', :suffix => ')') -%> <%= tendency_icon(measure('sonargraph_violating_types')) %> <%= format_measure('sonargraph_cycle_warnings', :suffix => ' cycle groups') -%> <%= tendency_icon(measure('sonargraph_cycle_warnings')) %>
<%= format_measure('sonargraph_architecture_violations', :suffix => ' violating references', :url => "#{ApplicationController.root_context}/drilldown/violations/#{@project.id}?filter=category&rule=Sonargraph%3Asonargraph.architecture") -%> <%= tendency_icon(measure('sonargraph_architecture_violations')) %> <%= format_measure('sonargraph_duplicate_warnings', :suffix => ' duplicate code blocks', :url => "#{ApplicationController.root_context}/drilldown/violations/#{@project.id}?filter=category&rule=Sonargraph%3Asonargraph.duplicate") -%> <%= tendency_icon(measure('sonargraph_duplicate_warnings')) %>
<%= format_measure('sonargraph_ignored_violations', :suffix => ' ignored violations') -%> <%= tendency_icon(measure('sonargraph_ignored_violations')) %> <%= format_measure('sonargraph_threshold_warnings', :suffix => ' threshold warnings', :url => "#{ApplicationController.root_context}/drilldown/violations/#{@project.id}?filter=category&rule=Sonargraph%3Asonargraph.threshold") -%> <%= tendency_icon(measure('sonargraph_threshold_warnings')) %>
<%= format_measure('sonargraph_workspace_warnings', :suffix => ' workspace warnings', :url => "#{ApplicationController.root_context}/drilldown/violations/#{@project.id}?filter=category&rule=Sonargraph%3Asonargraph.workspace") -%> <%= tendency_icon(measure('sonargraph_workspace_warnings')) %>
<%= format_measure('sonargraph_unassigned_types', :suffix => ' unassigned types') -%> <%= format_measure('sonargraph_unassigned_types_percent', :prefix => '(', :suffix => ')') -%> <%= tendency_icon(measure('sonargraph_unassigned_types')) %> <%= format_measure('sonargraph_ignored_warnings', :suffix => ' ignored warnings') -%> <%= tendency_icon(measure('sonargraph_ignored_warnings')) %>
<% end %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy