Sha256: f130614f590557cb9d2cfe7281c97e7543ccf97cf57fd86081a768e444bde827

Contents?: true

Size: 1.65 KB

Versions: 3

Compression:

Stored size: 1.65 KB

Contents

<!-- Page Content -->
<div id="page-content-wrapper">
  <div class="container-fluid">
    <div class="row">
      <!--Page Title -->
      <div class="Page_Title">
        <h3>Coverage</h3>
      </div>
      <!--End Page Title -->
      <div class="Content_Wrapper">
        <table id="coverageTable" class="table index-table sortable-table tablesorter">
          <thead>
            <tr>
              <% unless Config.suppress_ratings %>
                <th width="10%" class="table-header">Rating<span class="sort-type"></span></th>
              <% end %>
              <th width="80%" class="table-header">Name<span class="sort-type"></span></th>
              <th width="10%" class="table-header">Coverage<span class="sort-type"></span></th>
            </tr>
          </thead>
          <% @analysed_modules.each do |analysed_module| %>
            <tr>
              <% unless Config.suppress_ratings %>
                <td>
                  <div class="rating <%= analysed_module.coverage_rating.to_s.downcase %>">
                    <%= analysed_module.coverage_rating %>
                  </div>
                </td>
              <% end %>
              <td>
                <ul class="nav nav-pills">
                  <li role="presentation" >
                    <a href="<%= file_path(analysed_module.pathname.sub_ext('.html')) %>">
                      <%= analysed_module.name %>
                    </a>
                  </li>
                </ul>
              </td>
              <td><%= '%.2f' % analysed_module.coverage %>%</td>
            </tr>
          <% end %>
        </table>
      </div>
    </div>
  </div>
</div>
<!-- /#page-content-wrapper -->

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubycritic-4.9.1 lib/rubycritic/generators/html/templates/simple_cov_index.html.erb
rubycritic-4.9.0 lib/rubycritic/generators/html/templates/simple_cov_index.html.erb
rubycritic-4.8.1 lib/rubycritic/generators/html/templates/simple_cov_index.html.erb