Sha256: 37151f5e70a6333f3d24e07968b3247c34e291605441edc9d14488ea3edddda2

Contents?: true

Size: 1.02 KB

Versions: 46

Compression:

Stored size: 1.02 KB

Contents

<h3>Reek Results</h3>

<p><a href="http://reek.rubyforge.org/">Reek</a> detects common code smells in ruby code.</p>

<% graph_name = 'reek' %>
<% if MetricFu.configuration.graph_engine == :gchart %>
<img src="<%= graph_name %>.png?<%= Time.now.to_i %>" />
<% else %>
<canvas id="graph"></canvas>
<script language="javascript" src="<%= graph_name %>.js?<%= Time.now.to_i %>" type="text/javascript"></script>
<% end %>

<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

46 entries across 46 versions & 11 rubygems

Version Path
cayblood-metric_fu-1.1.6 lib/templates/awesome/reek.html.erb
metric_fu-4.3.1 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.3.0 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.2.1 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.2.0 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.1.3 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.1.2 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.1.1 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.1.0 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-4.0.0 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-3.0.1 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-3.0.0 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-2.1.4.pre5 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-2.1.4.pre4 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-2.1.4.pre2 lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-2.1.4.pre lib/metric_fu/metrics/reek/template_awesome/reek.html.erb
metric_fu-2.1.3.7.18.1 lib/metrics/reek/template_awesome/reek.html.erb
metric_fu-2.1.3.7.19 lib/metrics/reek/template_awesome/reek.html.erb
metric_fu-2.1.3.6 lib/metrics/reek/template_awesome/reek.html.erb
metric_fu-2.1.3.5 lib/metrics/reek/template_awesome/reek.html.erb