Overview

<% if Config.source_control_present? %>
<% else %>
We can't show you Churn-vs-Complexity graph because this project does not seem to be under a source code management system like git or perforce at the moment. This doesn't mean that anything is wrong, it just means certain features like this one are not avaiable.
<% end %>

Summary

<% ratings = { 'A' => 'Green_DR', 'B' => 'Green_Light', 'C' => 'Yellow_Color', 'D' => 'Orange_Color', 'F' => 'Red_Color' } %>
<% ratings.each do |rating, color| %>

<%= rating %>

  • <%= @summary[rating][:files] %>

    files
  • <%= @summary[rating][:churns] %>

    churns
  • <%= @summary[rating][:smells] %>

    smells
<% end %>