Reek Results

Reek detects common code smells in ruby code.

<%= render_partial 'graph', {:graph_name => 'reek'} %> <% # e.g.: https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md def code_smell_type_url(type) doc_url = "https://github.com/troessner/reek/blob/master/docs/%{page}.md" page = type.titlecase.tr(" ", "-") doc_url % {page: page} end %> <% count = 0 %> <% @reek[:matches].each do |match| %> <% match[:code_smells].each do |smell| %> <% count += 1 %> <% end %> <% end %>
File Path Method Description Type
<%= link_to_filename(match[:file_path]) %> <%= smell[:method] %> <%= smell[:message] %> <%= smell[:type] %>
<%= render_partial 'report_footer' %>