Sha256: 501124d2ea94fb25bb46f47ed0686fae8fbd17105aafa070056c9fac91286629

Contents?: true

Size: 1.03 KB

Versions: 31

Compression:

Stored size: 1.03 KB

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' %>
<% 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 %>

<h4>Total Score (lower is better): <%= @flay[:total_score] %></h4>
<h5>Scores less than <%= MetricFu.flay[: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

31 entries across 31 versions & 4 rubygems

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