Flay Results
Flay analyzes ruby code for structural similarities.
<%= render_partial 'graph', {:graph_name => 'flay'} %>
Total Score (lower is better): <%= @flay[:total_score] %>
Scores less than <%= MetricFu::Metric.get_metric('flay').run_options[:minimum_score] %> are not shown or part of the total
Files |
Matches |
<% count = 0 %>
<% @flay[:matches].each do |match| %>
<% match[:matches].each do |file| %>
<%= link_to_filename(file[:name], file[:line]) %>
<% end %>
|
<%= match[:reason] %> |
<% count += 1 %>
<% end %>
<%= render_partial 'report_footer' %>