Sha256: a1e188882b795fc0a3ee15ed6293bb604fe3a312f66e926dd5d99c90d558aab1

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
  <title><%= object_name %> - coverage report</title>
  <link href="coverage.css" media="all" rel="stylesheet" type="text/css">
</head>
<body>
  <h1><%= object_name %></h1>
  <div class="report_table_wrapper">
    <table class='report' id='report_table'>
      <thead>
        <tr>
          <th class="left_align">Name</th>
          <th class="right_align">Total Lines</th>
          <th class="right_align">Analyzed Lines</th>
          <th class="left_align">Total Coverage</th>
          <th class="left_align">Code Coverage</th>
        </tr>
      </thead>
      <tbody>
        <%= table_line_html %>
      </tbody>
    </table>
  </div> 
  <table class="details">
<% source.each do |line, text| %>
<% classname = (cov = coverage[line]) ? (cov > 0 ? 'marked' : 'uncovered') : 'inferred' %>
      <tr class="<%= classname %>" <%= (cov = coverage[line]) ? 'data-hits="'+cov.to_s+'"' : '' %>>
        <td><pre><a name="line<%= line %>"><%= line %> </a><%= ERB::Util.h text.chomp %></pre></td>
      </tr>
<% end %>
  </table>
</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-plsql-spec-0.5.0 lib/plsql/coverage/details.html.erb
ruby-plsql-spec-0.4.0 lib/plsql/coverage/details.html.erb
ruby-plsql-spec-0.3.0 lib/plsql/coverage/details.html.erb
ruby-plsql-spec-0.2.1 lib/plsql/coverage/details.html.erb
ruby-plsql-spec-0.1.0 lib/plsql/coverage/details.html.erb