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

sonar-plugins.sonar-sonargraph-plugin.3.4.source-code.sonargraph_debt_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
<%
m = measure('sonargraph_erosion_cost') 
if m && m.value > 0
%>

Structural Debt Index

Cost of Structural Debt

Sonargraph
<%= format_measure('sonargraph_erosion_index') -%> <%= tendency_icon(measure('sonargraph_erosion_index')) %> <%= format_measure('sonargraph_erosion_cost', :suffix => ' ') -%> <%= configuration('sonargraph.currency', 'USD') %> <%= tendency_icon(measure('sonargraph_erosion_cost')) %>
<%= format_measure('sonargraph_tasks', :suffix => ' open tasks') -%>
<%= format_measure('sonargraph_task_refs', :prefix => ' (with ', :suffix => ' references in code)', :url => "#{ApplicationController.root_context}/drilldown/issues/#{@project.id}?filter=category&rule=Sonargraph%3Asonargraph.open_task") -%> <%= tendency_icon(measure('sonargraph_tasks')) %>
<% elsif measure('sonargraph_erosion_index') %>

Structural Debt Index

Sonargraph
<%= format_measure('sonargraph_erosion_index') -%><%= tendency_icon(measure('sonargraph_erosion_index')) %>
<%= format_measure('sonargraph_tasks', :suffix => ' open tasks') -%>
<%= format_measure('sonargraph_task_refs', :prefix => ' (with ', :suffix => ' references in code)', :url => "#{ApplicationController.root_context}/drilldown/issues/#{@project.id}?filter=category&rule=Sonargraph%3Asonargraph.open_task") -%> <%= tendency_icon(measure('sonargraph_tasks')) %>
<% end %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy