<% if @brakeman_warnings.count > 1 %>
Brakeman Warnings(<%= @brakeman_warnings.count %>) |
<% else %>
Brakeman Warnings(<%= @brakeman_warnings.count %>) |
<% end %>
<% if @rails_best_practices_info.first['rails_best_practices'] > 50 %>
Rails Best Practices(<%= @rails_best_practices_info.first['rails_best_practices'] %>) |
<% else %>
Rails Best Practices(<%= @rails_best_practices_info.first['rails_best_practices'] %>) |
<% end %>
<% if @flog_info.first['flog'] > 5 %>
Flog(<%= @flog_info.first['flog'] %>) |
<% else %>
Flog(<%= @flog_info.first['flog'] %>) |
<% end %>
<% if @stats_info.first['stats'] == 0.0 %>
Stats |
<% else %>
Stats |
<% end %>