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

Brakeman Warnings

<% @brakeman_warnings.each do |warning| %> <% end %>
Type File Message

<%= warning['warning_type'] %>

<%= warning['file'] %> <%= warning['message'] %>
Report

Rails Best Practices

Found <%= @rails_best_practices_info.first['rails_best_practices'] %> issues.

Flog code complexity

Average Flog score for all methods: <%= @flog_info.first['flog'] %>

Stats

testLOC: <%= @matric_fu_info.first['testLOC'] %>/ codeLOC: <%= @matric_fu_info.first['codeLOC'] %>
Code to test ratio: <%= @stats_info.first['stats'] %>

<%= "Generated on #{Time.now}" %>