Sha256: 2e3a5bdea8cf186a3c9af283a4f8cb9c1994316db1ba5cede367f75d71f7fb8d

Contents?: true

Size: 1.15 KB

Versions: 47

Compression:

Stored size: 1.15 KB

Contents

<html>
<head>
	<title>Rake Stats Results</title>
	<style>
	<%= inline_css("default.css") %>	
	</style>
</head>

<body>
	<h1>Rake Stats  Results</h1>
  <a href="index.html">back to menu</a>
	<p>Rails rake stats results.</p>
	<table>
    <tr>
      <th>Lines of Code</th>
      <th>Lines of Test</th>
      <th>Code to test ratio</th>
    </tr>
    <tr>
      <td><%= @stats[:codeLOC] %></td>
      <td><%= @stats[:testLOC] %></td>
      <td>1:<%= @stats[:code_to_test_ratio] %></td>
    </tr>
  </table>

	<table>
    <tr>
      <th>Name</th>
      <th>Lines</th>
      <th>LOC</th>
      <th>Classes</th>
      <th>Methods</th>
      <th>Methods per class</th>
      <th>LOC per method</th>
    </tr>
    <% count = 0 %>
    <% @stats[:lines].each do |line| %>
      <tr>
        <td><%= line[:name] %></td>
        <td><%= line[:lines] %></td>
        <td><%= line[:loc] %></td>
        <td><%= line[:classes] %></td>
        <td><%= line[:methods] %></td>
        <td><%= line[:methods_per_class] %></td>
        <td><%= line[:loc_per_method] %></td>
      </tr>
      <% count += 1 %>
		<% end %>
  </table>

	<p>Generated on <%= Time.now.localtime %></p>	
</body>
</html>


Version data entries

47 entries across 47 versions & 18 rubygems

Version Path
IPGlider-metric_fu-1.1.5.1.1 lib/templates/standard/stats.html.erb
IPGlider-metric_fu-1.1.5.1 lib/templates/standard/stats.html.erb
cayblood-metric_fu-1.1.6 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.2 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.1.1 lib/templates/standard/stats.html.erb
gforces-metric_fu-1.1.4 lib/templates/standard/stats.html.erb
iain-metric_fu-0.1.0 lib/templates/standard/stats.html.erb
iain-metric_fu-0.1.1 lib/templates/standard/stats.html.erb
iain-metric_fu-0.1.2 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.1.0 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.1.1 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.1.2 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.1.3 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.1.4 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.1.5 lib/templates/standard/stats.html.erb
kjeldahl-metric_fu-1.1.5.1 lib/templates/standard/stats.html.erb
kjeldahl-metric_fu-1.1.5.2 lib/templates/standard/stats.html.erb
kjeldahl-metric_fu-1.1.5.3 lib/templates/standard/stats.html.erb
kjeldahl-metric_fu-1.1.5.4 lib/templates/standard/stats.html.erb
kjeldahl-metric_fu-1.1.5 lib/templates/standard/stats.html.erb