Flog Results

Flog measures code complexity.

<% graph_name = 'flog' %> <% if MetricFu.configuration.graph_engine == :gchart %> <% else %> <% end %>

Total Flog score for all methods: <%= @flog[:total]%>

Average Flog score for all methods: <%= @flog[:average]%>

<% @flog[:pages].each do |page| %> <% end %>
File Total score Methods Average score Highest score
<%= page[:path] %> <%= page[:score].round %> <%= page[:scanned_methods].length %> <%= page[:average_score].round %> <%= page[:highest_score].round %>
<% @flog[:pages].each do |page| %>

<%= link_to_filename page[:path] %>

<% page[:scanned_methods].each do |sm| %>

<%= sm[:name] %>

Total Score: <%=sm[:score]%>

<% sm[:operators].each do |operator| %> <% end %>
Score Operator
<%= operator[:score] %> <%= operator[:operator] %>
<% end %> <% end %>

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