Sha256: 7bf9678030257f3ea7e595302666e815d463d8e85ff6d92733e62cc4a4217760

Contents?: true

Size: 1.03 KB

Versions: 85

Compression:

Stored size: 1.03 KB

Contents

<div class="source_table" id="<%= id source_file %>">
  <div class="header">
    <h3><%= shortened_filename source_file %></h3>
    <h4><span class="<%= coverage_css_class(source_file.covered_percent) %>"><%= source_file.covered_percent.round(2).to_s %> %</span> covered</h4>
    <div>
      <b><%= source_file.lines_of_code %></b> relevant lines. 
      <span class="green"><b><%= source_file.covered_lines.count %></b> lines covered</span> and
      <span class="red"><b><%= source_file.missed_lines.count %></b> lines missed.</span>
    </div>
  </div>
  
  <pre>
    <ol>
      <% source_file.lines.each_with_index do |line| %>
        <li class="<%= line.status %>" data-hits="<%= line.coverage ? line.coverage : '' %>" data-linenumber="<%= line.number %>">
          <% if line.covered? %><span class="hits"><%= line.coverage %></span><% end %>
          <% if line.skipped? %><span class="hits">skipped</span><% end %>
          <code class="ruby"><%= CGI.escapeHTML(line.src.chomp) %></code>
        </li>
      <% end %>
    </ol>
  </pre>
</div>

Version data entries

85 entries across 77 versions & 16 rubygems

Version Path
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.8.0.pre vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.7.1 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.7.0 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.7.0.pre2 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.7.0.pre vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.6.2 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.6.1 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.6.0 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.5.4 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.5.3 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.5.2 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.5.1 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.5.0 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.4.1 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.4.0 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.3.5 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.3.4 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.3.3 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb
challah-0.3.2 vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb