Flog Results

Flog measures code complexity.

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

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

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

<% @flog[:method_containers].each do |method_container| %> <% end %>
File Total score Methods Average score Highest score
<%= method_container[:path] %> <%= round_to_tenths method_container[:total_score] %> <%= method_container[:methods].size %> <%= round_to_tenths method_container[:average_score] %> <%= round_to_tenths method_container[:highest_score] %>
<% @flog[:method_containers].each do |method_container| %>

<%= link_to_filename(method_container[:path]) %>

<% method_container[:methods].each do |full_method_name, method_info| %> <% path, line = method_info[:path].split(":") if method_info[:path] %>

<%= link_to_filename(path, line, full_method_name) %>

Total Score: <%= round_to_tenths method_info[:score]%>

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

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