Sha256: 9e1459a81a1ff5f173151f5222b53eea6ba5eac945c27398dae062b3548f3d3a

Contents?: true

Size: 1.23 KB

Versions: 18

Compression:

Stored size: 1.23 KB

Contents

<table id="js-index-table" class="index-table sortable-table">
<thead>
  <tr>
    <th>Name</th>
    <th class="numeric-cell" title="Number of times a file has changed">Churn</th>
    <th class="numeric-cell" title="Overall amount of code in a file">Complexity</th>
    <th class="numeric-cell" title="Amount of code that is similar to other code">Duplication</th>
    <th class="numeric-cell">Smells</th>
    <% unless Config.suppress_ratings %>
      <th class="centered-cell">Rating</th>
    <% end %>
  </tr>
</thead>
<tbody>
  <% @analysed_modules.each do |analysed_module| %>
    <tr>
      <td>
        <a href="<%= file_path(analysed_module.pathname.sub_ext('.html')) %>"><%= analysed_module.name %></a>
      </td>
      <td class="numeric-cell"><%= analysed_module.churn %></td>
      <td class="numeric-cell"><%= analysed_module.complexity %></td>
      <td class="numeric-cell"><%= analysed_module.duplication %></td>
      <td class="numeric-cell"><%= analysed_module.smells.length %></td>
      <% unless Config.suppress_ratings %>
        <td class="centered-cell"><span class="rating-<%= analysed_module.rating.to_s.downcase %> circled-text circle"><%= analysed_module.rating %></span></td>
      <% end %>
    </tr>
  <% end %>
</tbody>
</table>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rubycritic-3.0.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.9.4 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.9.3 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.9.2 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.9.1 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.9.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.8.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.7.1 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.7.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.6.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.5.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.4.1 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.4.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.3.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.2.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.1.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-2.0.0 lib/rubycritic/generators/html/templates/code_index.html.erb
rubycritic-1.4.0 lib/rubycritic/generators/html/templates/code_index.html.erb