Sha256: 14a51f6669d1dc4034772ff990e23dce190d5f69d05f92d8e6e4354e0fe20969

Contents?: true

Size: 1.39 KB

Versions: 26

Compression:

Stored size: 1.39 KB

Contents

<h3>Source Control Churn Results</h3>
<p>Files that change a lot in your project may be bad a sign.
  This task uses your source control log to identify those files.
  </p>
<table>
  <tr>
    <th>File Path</th>
    <th>Times Changed</th>
  </tr>
  <% count = 0 %>
  <% @churn[:changes].each do |change| %>
    <tr>
      <td><%= link_to_filename(change[:file_path]) %></td>
      <td><%= change[:times_changed] %></td>
    </tr>
    <% count += 1 %>
  <% end %>
</table>

<% if @churn[:class_churn] %>
<p>Classes that change a lot in your project may be bad a sign.</p>
<table>
  <tr>
    <th>File Path</th>
    <th>Times Changed</th>
  </tr>
  <% count = 0 %>
  <% @churn[:class_churn].each do |change| %>
    <tr>
      <td><%= link_to_filename(change['klass']['file']) %> <%= change['klass']['klass'] %></td>
      <td><%= change['times_changed'] %></td>
    </tr>
    <% count += 1 %>
  <% end %>
</table>
<% end %>

<% if @churn[:method_churn] %>
<p>Methods that change a lot in your project may be bad a sign.</p>
<table>
  <tr>
    <th>File Path</th>
    <th>Times Changed</th>
  </tr>
  <% count = 0 %>
  <% @churn[:method_churn].each do |change| %>
    <tr>
      <td><%= link_to_filename(change['method']['file']) %> <%= change['method']['method'] %></td>
      <td><%= change['times_changed'] %></td>
    </tr>
    <% count += 1 %>
  <% end %>
</table>
<% end %>



<p>Generated on <%= Time.now.localtime %></p>

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
metric_fu-4.1.2 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-4.1.1 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-4.1.0 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-4.0.0 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-3.0.1 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-3.0.0 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.4.pre5 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.4.pre4 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.4.pre2 lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.4.pre lib/metric_fu/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.3.7.18.1 lib/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.3.7.19 lib/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.3.6 lib/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.3.5 lib/metrics/churn/template_awesome/churn.html.erb
metric_fu-2.1.3.4 lib/metrics/churn/template_awesome/churn.html.erb
bf4-metric_fu-2.1.3.4 lib/templates/awesome/churn.html.erb
bf4-metric_fu-2.1.3.3 lib/templates/awesome/churn.html.erb
bf4-metric_fu-2.1.3.2 lib/templates/awesome/churn.html.erb
bf4-metric_fu-2.1.3.1 lib/templates/awesome/churn.html.erb
danmayer-metric_fu-2.1.3 lib/templates/awesome/churn.html.erb