Sha256: 0208e6c2957d3ea7f908816cd1cfd11776d1084ef42af9016647a451dbdf3fa9
Contents?: true
Size: 943 Bytes
Versions: 1
Compression:
Stored size: 943 Bytes
Contents
<h3>Rcov Code Coverage Results</h3> <p>C0 code coverage information.</p> <p>Total Coverage: <%= @rcov.delete(:global_percent_run) %>% </p> <table> <tr> <th>File Path</th> <th>Percent run</th> </tr> <% count = 0 %> <% @rcov.each_pair 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_pair 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
edouard-metric_fu-1.0.3.6 | lib/templates/awesome/rcov.html.erb |