Sha256: 7b011bf2066b425ed0fb0dd734a524036ce9fff650cc28d4683fc24b86fcd7b7
Contents?: true
Size: 963 Bytes
Versions: 4
Compression:
Stored size: 963 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' %> <% 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> <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
4 entries across 4 versions & 4 rubygems