Sha256: c00d917f67358179fadb020f389baed6c6e2ae84b1619aa33dfe131db2d21596

Contents?: true

Size: 997 Bytes

Versions: 4

Compression:

Stored size: 997 Bytes

Contents

<html>
<head>
	<title>Flog Reporter</title>
	<style>
	<%= inline_css("default.css") %>	
	</style>
</head>
<body>
	<h1>Flog Results</h1>
	<p><a href='http://ruby.sadi.st/Flog.html'>Flog</a> measures code complexity.</p>
	<table>
		<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>
	<p>Generated on <%= Time.now.localtime %></p>	
</body>
</html>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
jscruggs-metric_fu-0.8.9 lib/templates/flog.html.erb
p8-metric_fu-0.8.0.16 lib/templates/flog.html.erb
p8-metric_fu-0.8.4.16 lib/templates/flog.html.erb
p8-metric_fu-0.8.9 lib/templates/flog.html.erb