Sha256: 02fce293108e2a983ceef01429116829d0c17ebcdd02c770082aa08b87db8e60
Contents?: true
Size: 1.76 KB
Versions: 32
Compression:
Stored size: 1.76 KB
Contents
<div class="file_list_container" id="<%= title.gsub(/[^a-zA-Z]/, '') %>"> <h2> <span class="group_name"><%= title %></span> (<span class="covered_percent"><span class="<%= coverage_css_class(source_files.covered_percent) %>"><%= source_files.covered_percent.round(2) %>%</span></span> covered at <span class="covered_strength"> <span class="<%= strength_css_class(source_files.covered_strength) %>"> <%= source_files.covered_strength.round(2) %> </span> </span> hits/line) </h2> <a name="<%= title.gsub(/[^a-zA-Z]/, '') %>"></a> <div> <b><%= source_files.length %></b> files in total. <b><%= source_files.lines_of_code %></b> relevant lines. <span class="green"><b><%= source_files.covered_lines %></b> lines covered</span> and <span class="red"><b><%= source_files.missed_lines %></b> lines missed </span> </div> <table class="file_list"> <thead> <tr> <th>File</th> <th>% covered</th> <th>Lines</th> <th>Relevant Lines</th> <th>Lines covered</th> <th>Lines missed</th> <th>Avg. Hits / Line</th> </tr> </thead> <tbody> <% source_files.each do |source_file| %> <tr> <td class="strong"><%= link_to_source_file(source_file) %></td> <td class="<%= coverage_css_class(source_file.covered_percent) %> strong"><%= source_file.covered_percent.round(2).to_s %> %</td> <td><%= source_file.lines.count %></td> <td><%= source_file.covered_lines.count + source_file.missed_lines.count %></td> <td><%= source_file.covered_lines.count %></td> <td><%= source_file.missed_lines.count %></td> <td><%= source_file.covered_strength %></td> </tr> <% end %> </tbody> </table> </div>
Version data entries
32 entries across 29 versions & 3 rubygems