Sha256: 1ab8f83437a002ff4e009e82763a58dee09bff333a7b15a9838f005a265665e6

Contents?: true

Size: 1.11 KB

Versions: 18

Compression:

Stored size: 1.11 KB

Contents

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

<body>
	<h1>Rake Stats  Results</h1>
	<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

18 entries across 18 versions & 4 rubygems

Version Path
alexrothenberg-metric_fu-1.0.2 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.3.3 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.3.4 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.3.5 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.3.6 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.3.7 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.3.8 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.4.1 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.4.2 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.4.3 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.4.4 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.4.5 lib/templates/standard/stats.html.erb
edouard-metric_fu-1.0.4 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.0.0 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.0.1 lib/templates/standard/stats.html.erb
jscruggs-metric_fu-1.0.2 lib/templates/standard/stats.html.erb
khall-metric_fu-1.0.2.1 lib/templates/standard/stats.html.erb
khall-metric_fu-1.0.2.2 lib/templates/standard/stats.html.erb