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

Version Path
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-rolls-0.2.0 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.8.3 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.8.1 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-rolls-0.1.0 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.8.0.pre vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.7.1 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.7.0 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.7.0.pre2 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.7.0.pre vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.6.2 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.6.1 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.6.0 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.5.4 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.5.3 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.5.2 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.5.1 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb
challah-0.5.0 vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb