Sha256: 23adf9620828dee49d173b93ae79cb389c9ecfa63ac7f4ebed5e42f721c4d13e

Contents?: true

Size: 956 Bytes

Versions: 9

Compression:

Stored size: 956 Bytes

Contents

<h3>Flay Results</h3>

<p><a href='http://ruby.sadi.st/Flay.html'>Flay</a> analyzes ruby code for structural similarities.</p>

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

<h4>Total Score (lower is better): <%= @flay[:total_score] %></h4>
<h5>Scores less than <%= MetricFu::Metric.get_metric('flay').run_options[:minimum_score] %> are not shown or part of the total</h5>

<table>
  <tr>
    <th>Files</th>
    <th>Matches</th>
  </tr>
  <% count = 0 %>
  <% @flay[:matches].each do |match| %>
    <tr class='<%= cycle("light", "dark", count) %>'>
      <td>
        <% match[:matches].each do |file| %>
          <%= link_to_filename(file[:name], file[:line]) %><br/>
        <% end %>
      </td>
      <td><%= match[:reason] %></td>
    </tr>
    <% count += 1 %>
  <% 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/flay/template_awesome/flay.html.erb
metric_fu-4.7.4 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb
metric_fu-4.7.3 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb
metric_fu-4.7.2 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb
metric_fu-4.7.1 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb
metric_fu-4.7.0 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb
metric_fu-4.6.0 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb
metric_fu-4.5.2 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb
metric_fu-4.5.1 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb