Sha256: b94a4e9c36576466b21713d7c079afd4bfe4489c763d5c4779cce554da226020

Contents?: true

Size: 838 Bytes

Versions: 14

Compression:

Stored size: 838 Bytes

Contents

<h3>Flay Results</h3>

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

<%= render_partial 'graph', {:graph_name => 'flay'} %>

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

<%= render_partial 'report_footer' %>

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
metric_fu-4.13.0 lib/metric_fu/metrics/flay/report.html.erb
fastruby-metric_fu-5.0.0 lib/metric_fu/metrics/flay/report.html.erb
code_metric_fu-4.14.4 lib/metric_fu/metrics/flay/report.html.erb
code_metric_fu-4.14.3 lib/metric_fu/metrics/flay/report.html.erb
code_metric_fu-4.14.2 lib/metric_fu/metrics/flay/report.html.erb
code_metric_fu-4.14.1 lib/metric_fu/metrics/flay/report.html.erb
code_metric_fu-4.14.0 lib/metric_fu/metrics/flay/report.html.erb
metric_fu-4.12.0 lib/metric_fu/metrics/flay/report.html.erb
metric_fu-4.11.4 lib/metric_fu/metrics/flay/report.html.erb
metric_fu-4.11.3 lib/metric_fu/metrics/flay/report.html.erb
metric_fu-4.11.2 lib/metric_fu/metrics/flay/report.html.erb
metric_fu-4.11.1 lib/metric_fu/metrics/flay/report.html.erb
metric_fu-4.11.0 lib/metric_fu/metrics/flay/report.html.erb
metric_fu-4.10.0 lib/metric_fu/metrics/flay/template_awesome/flay.html.erb