Sha256: 98ee231bac15b4c0ebe3c22649c3ffdb20f4546524e6e14b56af244f9263ac00
Contents?: true
Size: 949 Bytes
Versions: 15
Compression:
Stored size: 949 Bytes
Contents
<html> <head> <title>Flog Reporter</title> <style> <%= inline_css("#{template_name}.css") %> </style> </head> <body> <h1>Flogged files</h1> <p>Generated on <%= Time.now.localtime %> with <a href='http://ruby.sadi.st/Flog.html'>flog</a></p> <table class='report'> <tr><th>File</th><th>Total score</th><th>Methods</th><th>Average score</th><th>Highest score</th></tr> <% pages.sort {|x,y| y.highest_score <=> x.highest_score }.each_with_index do |page, count| %> <tr class='<%= cycle("light", "dark", count) %>'> <td><a href='<%= page.path %>'><%= page.path.sub('.html', '.rb') %></a></td> <td class='score'><%= sprintf(SCORE_FORMAT, page.score) %></td> <td class='score'><%= page.scanned_methods.length %></td> <td class='score'><%= sprintf(SCORE_FORMAT, page.average_score) %></td> <td class='score'><%= sprintf(SCORE_FORMAT, page.highest_score) %></td> </tr> <% end %> </table> </body> </html>
Version data entries
15 entries across 15 versions & 1 rubygems