Sha256: dfe754d99f756caf6a2e80f5aa92a376db61d6c2573b5d8e9ffab9a34af55eb0

Contents?: true

Size: 1.02 KB

Versions: 47

Compression:

Stored size: 1.02 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 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

47 entries across 35 versions & 6 rubygems

Version Path
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/simplecov-html-0.10.2/views/source_file.erb
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.10.2/views/source_file.erb