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

Version Path
p8-metric_fu-0.8.4.1 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.10 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.11 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.12 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.13 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.14 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.15 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.2 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.3 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.4 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.5 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.6 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.7 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.8 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.9 lib/templates/flog.html.erb