Sha256: ec253ea901e724c47a995dfb25c6aa522b5f9bb83f043ad63d80c2d9fbaa7436

Contents?: true

Size: 913 Bytes

Versions: 9

Compression:

Stored size: 913 Bytes

Contents

<h3>Reek Results</h3>

<p><a href="http://github.com/troessner/reek">Reek</a> detects common code smells in ruby code.</p>

<% graph_name = 'reek' %>
<canvas id="graph"></canvas>
<script language="javascript" src="<%= graph_name %>.js?<%= Time.now.to_i %>" type="text/javascript"></script>

<table>
  <tr>
    <th>File Path</th>
    <th>Method</th>
    <th>Description</th>
    <th>Type</th>
  </tr>
  <% count = 0 %>
  <% @reek[:matches].each do |match| %>
    <% match[:code_smells].each do |smell| %>
      <tr class='<%= cycle("light", "dark", count) %>'>
        <td><%= link_to_filename(match[:file_path]) %></td>
        <td>
          <%= smell[:method] %>
        </td>
        <td>
          <%= smell[:message] %>
        </td>
        <td>
          <%= smell[:type] %>
        </td>
      </tr>
      <% count += 1 %>
    <% end %>
  <% end %>

</table>
<p>Generated on <%= Time.now.localtime %></p>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
metric_fu-4.8.0 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.7.4 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.7.3 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.7.2 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.7.1 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.7.0 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.6.0 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.5.2 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.5.1 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb