Sha256: 75657266cd739b355ea1a9b9c6ad0939e8bcd4d7458cbee21d37a36a701a39f2
Contents?: true
Size: 1.06 KB
Versions: 3
Compression:
Stored size: 1.06 KB
Contents
<h3>Rake Stats Results</h3> <p>Rails rake stats results.</p> <img src="stats.png?<%= Time.now %>"> <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 class="sortable"> <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| %> <%= "<tfoot>" if line[:name] == "Total" %> <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> <%= "</tfoot>" if line[:name] == "Total" %> <% count += 1 %> <% end %> </table> <p>Generated on <%= Time.now.localtime %></p>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iain-metric_fu-0.1.0 | lib/templates/awesome/stats.html.erb |
iain-metric_fu-0.1.1 | lib/templates/awesome/stats.html.erb |
iain-metric_fu-0.1.2 | lib/templates/awesome/stats.html.erb |