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 %>File Path | Method | Description | Type |
---|---|---|---|
<%= link_to_filename(match[:file_path]) %> | <%= smell[:method] %> | <%= smell[:message] %> | <%= smell[:type] %> |