Sha256: 7740b31950f291f05050a033a25bd4c2b5c13ddef872d65dc26f40006fe17234

Contents?: true

Size: 1.72 KB

Versions: 103

Compression:

Stored size: 1.72 KB

Contents

<div class="file_list_container" id="<%= title_id %>">
  <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_id %>"></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

103 entries across 87 versions & 20 rubygems

Version Path
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.10.2/views/file_list.erb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.1.0 vendor/bundle/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.0.13 vendor/bundle/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.0.12.1 vendor/bundle/gems/simplecov-html-0.10.2/views/file_list.erb
coverband-4.1.0.alpha views/file_list.erb
coverband-4.0.1 views/file_list.erb
coverband-4.0.1.beta views/file_list.erb
tdiary-5.0.11 vendor/bundle/gems/simplecov-html-0.10.2/views/file_list.erb
coverband-4.0.1.alpha views/file_list.erb
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/file_list.erb
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.0.9 vendor/bundle/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.0.8 vendor/bundle/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/file_list.erb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/simplecov-html-0.9.0/views/file_list.erb
tdiary-5.0.7 vendor/bundle/gems/simplecov-html-0.9.0/views/file_list.erb