Sha256: 4935fc7c816ba71f16f3d6cb2b696fb4cffbda83c30aed61b6f41fbf3ee9a75d

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

<!DOCTYPE html>
<html lang="ja">
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <%= stylesheet("reset", erb.filename) %>
    <%= stylesheet("coverage", erb.filename) %>
    <title><%= page_title %></title>
  </head>
  <body>
    <h1><%= project_name %> C0 Coverage Information</h1>
    <h2><%= page_title %></h2>
    <table>
      <thead>
        <tr>
          <th>Name</th>
          <th>Total Lines</th>
          <th>Lines of Code</th>
          <th>Total Coverage</th>
          <th>Code Coverage</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td><%= label %></td>
          <td><%= total %></td>
          <td><%= lines_of_code %></td>
          <td><%= total_coverage %></td>
          <td><%= code_coverage %></td>
        </tr>
      </tbody>
    </table>

    <h3>Key</h3>

    <div id="key" class="code">
      <ol>
        <li class="covered">covered code...</li>
        <li class="not-code">not code...</li>
        <li class="uncovered">uncovered code...</li>
      </ol>
    </div>

    <h3>Coverage Details</h3>

    <div id="coverage-details" class="code">
      <ol>
      <%- each_line do |line| -%>
        <li class="<%= line.class_name%>"><code><%= line.line %></code></li>
      <%- end -%>
      </ol>
    </div>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
coverage-printer-0.1.0 data/templates/detail.html.erb