Flog Results

Flog measures code complexity.

<% pages.sort {|x,y| y.highest_score <=> x.highest_score }.each_with_index do |page, count| %> <% end %>
File Total score Methods Average score Highest score
<%= page.path.sub('.html', '.rb') %> <%= sprintf(SCORE_FORMAT, page.score) %> <%= page.scanned_methods.length %> <%= sprintf(SCORE_FORMAT, page.average_score) %> <%= sprintf(SCORE_FORMAT, page.highest_score) %>
Totals <%= sprintf(SCORE_FORMAT, pages.inject(0){|sum, page| sum + page.score }) %> <%= pages.inject(0){|sum, page| sum + page.scanned_methods.length } %>

Generated on <%= Time.now.localtime %>