Sha256: 4b4cf8cd9538aa1c446e21d77be22250e0eae25ed08f67d7a5e8963cbda03356

Contents?: true

Size: 1004 Bytes

Versions: 14

Compression:

Stored size: 1004 Bytes

Contents

<h3>Lines of Code/Tests Metric Results</h3>

<%= render_partial 'graph', {:graph_name => 'stats'} %>

<p>Lines of Code/Tests Metrics 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>

<%= render_partial 'report_footer' %>

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
metric_fu-4.13.0 lib/metric_fu/metrics/stats/report.html.erb
fastruby-metric_fu-5.0.0 lib/metric_fu/metrics/stats/report.html.erb
code_metric_fu-4.14.4 lib/metric_fu/metrics/stats/report.html.erb
code_metric_fu-4.14.3 lib/metric_fu/metrics/stats/report.html.erb
code_metric_fu-4.14.2 lib/metric_fu/metrics/stats/report.html.erb
code_metric_fu-4.14.1 lib/metric_fu/metrics/stats/report.html.erb
code_metric_fu-4.14.0 lib/metric_fu/metrics/stats/report.html.erb
metric_fu-4.12.0 lib/metric_fu/metrics/stats/report.html.erb
metric_fu-4.11.4 lib/metric_fu/metrics/stats/report.html.erb
metric_fu-4.11.3 lib/metric_fu/metrics/stats/report.html.erb
metric_fu-4.11.2 lib/metric_fu/metrics/stats/report.html.erb
metric_fu-4.11.1 lib/metric_fu/metrics/stats/report.html.erb
metric_fu-4.11.0 lib/metric_fu/metrics/stats/report.html.erb
metric_fu-4.10.0 lib/metric_fu/metrics/stats/template_awesome/stats.html.erb