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

sonar-plugins.sonar-sonargraph-plugin.3.4.2.source-code.sonargraph_structure_widget.html.erb Maven / Gradle / Ivy

<%
if measure('sonargraph_acd')
%>
<%# This part is executed if there is only one build unit %>

Relative Package Cyclicity

ACD (John Lakos)

Sonargraph
<%= format_measure('sonargraph_relative_cyclicity') -%> <%= tendency_icon(measure('sonargraph_relative_cyclicity')) %> <%= format_measure('sonargraph_acd') -%> <%= tendency_icon(measure('sonargraph_acd')) %>
<%= format_measure('sonargraph_biggest_cycle_group', :suffix => ' biggest cycle group size') -%> <%= tendency_icon(measure('sonargraph_biggest_cycle_group')) %> <%= format_measure('sonargraph_nccd') -%> NCCD (John Lakos) <%= tendency_icon(measure('sonargraph_nccd')) %>
<%= format_measure('sonargraph_cyclic_packages', :suffix => ' cyclic packages') -%> <%= format_measure('sonargraph_cyclic_packages_percent', :prefix => '(', :suffix => ')') -%> <%= tendency_icon(measure('sonargraph_cyclic_packages')) %>
<%= format_measure('sonargraph_erosion_types', :suffix => ' type dependencies to cut (approx.)') -%><%= tendency_icon(measure('sonargraph_erosion_types')) %>
<%= format_measure('sonargraph_erosion_ref', :suffix => ' references to remove (approx.)') -%><%= tendency_icon(measure('sonargraph_erosion_ref')) %> <%= format_measure('sonargraph_instructions', :suffix => ' byte code instr.') -%> <%= tendency_icon(measure('sonargraph_instructions')) %>
<% elsif measure('sonargraph_biggest_cycle_group') %> <%# This part is executed if there are several build units %>

Relative Package Cyclicity

Highest ACD

Sonargraph
<%= format_measure('sonargraph_relative_cyclicity') -%> <%= tendency_icon(measure('sonargraph_relative_cyclicity')) %> <%= format_measure('sonargraph_highest_acd') -%> <%= tendency_icon(measure('sonargraph_highest_acd')) %>
<%= format_measure('sonargraph_biggest_cycle_group', :suffix => ' biggest cycle group size') -%> <%= tendency_icon(measure('sonargraph_biggest_cycle_group')) %> <%= format_measure('sonargraph_highest_nccd') -%> Highest NCCD <%= tendency_icon(measure('sonargraph_highest_nccd')) %>
<%= format_measure('sonargraph_cyclic_packages', :suffix => ' cyclic packages') -%> <%= format_measure('sonargraph_cyclic_packages_percent', :prefix => '(', :suffix => ')') -%> <%= tendency_icon(measure('sonargraph_cyclic_packages')) %>
<%= format_measure('sonargraph_erosion_types', :suffix => ' type dependencies to cut (approx.)') -%><%= tendency_icon(measure('sonargraph_erosion_types')) %>
<%= format_measure('sonargraph_erosion_ref', :suffix => ' references to remove (approx.)') -%><%= tendency_icon(measure('sonargraph_erosion_ref')) %> <%= format_measure('sonargraph_instructions', :suffix => ' byte code instr.') -%> <%= tendency_icon(measure('sonargraph_instructions')) %>
<% end %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy