<commit_before><div class="row">
    <!--Page Title -->
    <div class="Page_Title">
      <h3>Code</h3>
    </div>
    <!--End Page Title -->
    <div class="Content_Wrapper">
      <table id="codeTable" class="table code 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="50%" class="table-header">Name<span class="sort-type"></span></th>
            <th width="10%" class="table-header">Churn<span class="sort-type"></span></th>
            <th width="10%" class="table-header">Complexity<span class="sort-type"></span></th>
            <th width="10%" class="table-header">Duplication<span class="sort-type"></span></th>
            <th width="10%" class="table-header">Smells<span class="sort-type"></span></th>
          </tr>
        </thead>
        <tbody>
          <% @analysed_modules.each do |analysed_module| %>
            <tr>
              <td>
                <% unless Config.suppress_ratings %>
                  <% if Config.build_mode? %>
                    <% master_analysed_module = Config.base_branch_collection.find(analysed_module.pathname) %>
                    <% if master_analysed_module.cost > analysed_module.cost %>
                      <span class="glyphicon glyphicon-arrow-up green-color"></span>
                    <% elsif master_analysed_module.cost < analysed_module.cost %>
                      <span class="glyphicon glyphicon-arrow-down red-color"></span>
                    <% else %>
                      <span class="empty-span glyphicon"></span>
                    <% end %>
                  <% end %>
                  <div class="rating <%= analysed_module.rating.to_s.downcase %>"><%= analysed_module.rating %></div>
                <% end %>
              </td>
              <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><%= analysed_module.churn %></td>
              <td><%= analysed_module.complexity %></td>
              <td><%= analysed_module.duplication %></td>
              <td><%= analysed_module.smells_count %></td>
            </tr>
          <% end %>
        </tbody>
      </table>
  </div>
</div><commit_msg>Fix HTML report when "--suppress-ratings" is used on the Code page.<commit_after><div class="row">
    <!--Page Title -->
    <div class="Page_Title">
      <h3>Code</h3>
    </div>
    <!--End Page Title -->
    <div class="Content_Wrapper">
      <table id="codeTable" class="table code 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="50%" class="table-header">Name<span class="sort-type"></span></th>
            <th width="10%" class="table-header">Churn<span class="sort-type"></span></th>
            <th width="10%" class="table-header">Complexity<span class="sort-type"></span></th>
            <th width="10%" class="table-header">Duplication<span class="sort-type"></span></th>
            <th width="10%" class="table-header">Smells<span class="sort-type"></span></th>
          </tr>
        </thead>
        <tbody>
          <% @analysed_modules.each do |analysed_module| %>
            <tr>
              <% unless Config.suppress_ratings %>
                <td>
                  <% if Config.build_mode? %>
                    <% master_analysed_module = Config.base_branch_collection.find(analysed_module.pathname) %>
                    <% if master_analysed_module.cost > analysed_module.cost %>
                      <span class="glyphicon glyphicon-arrow-up green-color"></span>
                    <% elsif master_analysed_module.cost < analysed_module.cost %>
                      <span class="glyphicon glyphicon-arrow-down red-color"></span>
                    <% else %>
                      <span class="empty-span glyphicon"></span>
                    <% end %>
                  <% end %>
                  <div class="rating <%= analysed_module.rating.to_s.downcase %>"><%= analysed_module.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><%= analysed_module.churn %></td>
              <td><%= analysed_module.complexity %></td>
              <td><%= analysed_module.duplication %></td>
              <td><%= analysed_module.smells_count %></td>
            </tr>
          <% end %>
        </tbody>
      </table>
  </div>
</div>
{'fraction_non_alphanumeric': 0.17037037037037037, 'fraction_numerical': 0.005458089668615985, 'mean_word_length': 1.7453183520599251, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2012686', 'n_tokens_mistral': 1588, 'n_tokens_neox': 1419, 'n_words': 251}