Sha256: 9df7f8a293cb0bd8746a7bb31715d7b2a26f66658771293bee5e802b9395ec83

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

<h3>Rcov Code Coverage Results</h3>

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

<a href="rcov.png?<%= Time.now.localtime %>">
  <img src="rcov.png?<%= Time.now.localtime %>" width="400">
</a>

<p>Total Coverage: <%= @rcov.delete(:global_percent_run) %>% </p>
<table>
  <tr>
    <th>File Path</th>
    <th>Percent run</th>
  </tr>
  <% count = 0 %>
  <% @rcov.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.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 do |line| %>
      <tr>
        <% css_class = line[:was_run] ? "rcov_run" : "rcov_not_run" %>
        <td class="<%= css_class %>"><pre><%= 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
edouard-metric_fu-1.0.4.1 lib/templates/awesome/rcov.html.erb
edouard-metric_fu-1.0.4.2 lib/templates/awesome/rcov.html.erb
edouard-metric_fu-1.0.4 lib/templates/awesome/rcov.html.erb