Sha256: 2bae85ec218a6d69b5fa8b2f60f02023811df4ee89540b879a07c0eee7fbdfc8

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 KB

Contents

<h3>Rcov Code Coverage Results</h3>

<p>C0 code coverage information.</p>

<%= graph_image('rcov.png', :alt => "C0 coverage graph") %>

<p>Total Coverage: <%= @rcov[:global_percent_run] %>% </p>
<table>
  <tr>
    <th>File Path</th>
    <th>Percent run</th>
  </tr>
  <% count = 0 %>
  <% @rcov.files.sort_by{ |k,v| v[:percent_run] }.each do |fname, file| %>
    <tr>
      <td><a href="#<%= fname.gsub(/[^a-z]+/, '_') %>"><%= fname %></a></td>
      <td><%= file[:percent_run] %></td>
    </tr>
    <% count += 1 %>
  <% end %>
</table>

<% @rcov.files.sort_by{ |k,v| v[:percent_run] }.each do |fname, file| %>
  <h2 id="<%= fname.gsub(/[^a-z]+/, '_') %>"> <%= fname %></h2>
  <div class="rcov_overflow">
    <table class="rcov_code">
    <% file[:lines].each_with_index do |line, index| %>
      <tr>
        <% css_class = line[:was_run] ? "rcov_run" : "rcov_not_run" %>
        <td class="<%= css_class %>"><pre><%= link_to_filename(fname, index + 1, encode(line[:content])) %></pre></td>
      </tr>
    <% end %>
    </table>
  </div>
<% end %>
<p>Generated on <%= Time.now.localtime %></p>	

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kjeldahl-metric_fu-1.1.5.2 lib/templates/awesome/rcov.html.erb
kjeldahl-metric_fu-1.1.5.3 lib/templates/awesome/rcov.html.erb
kjeldahl-metric_fu-1.1.5.4 lib/templates/awesome/rcov.html.erb