Sha256: e85036af6330dcf7b4ddb68dfa0f2509b4cd44362be79ac7b29e93b82081a51b

Contents?: true

Size: 1.15 KB

Versions: 26

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

26 entries across 26 versions & 4 rubygems

Version Path
metric_fu-4.1.2 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-4.1.1 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-4.1.0 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-4.0.0 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-3.0.1 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-3.0.0 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.4.pre5 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.4.pre4 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.4.pre2 lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.4.pre lib/metric_fu/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.3.7.18.1 lib/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.3.7.19 lib/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.3.6 lib/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.3.5 lib/metrics/stats/template_standard/stats.html.erb
metric_fu-2.1.3.4 lib/metrics/stats/template_standard/stats.html.erb
bf4-metric_fu-2.1.3.4 lib/templates/standard/stats.html.erb
bf4-metric_fu-2.1.3.3 lib/templates/standard/stats.html.erb
bf4-metric_fu-2.1.3.2 lib/templates/standard/stats.html.erb
bf4-metric_fu-2.1.3.1 lib/templates/standard/stats.html.erb
danmayer-metric_fu-2.1.3 lib/templates/standard/stats.html.erb