Sha256: ccca47b150298701fb57525635a624fdd0e4eb67dad13ca86fbfe4c31d047e93
Contents?: true
Size: 1.02 KB
Versions: 5
Compression:
Stored size: 1.02 KB
Contents
<h3>Reek Results</h3> <p><a href="http://github.com/troessner/reek">Reek</a> detects common code smells in ruby code.</p> <% graph_name = 'reek' %> <% if MetricFu.configuration.graph_engine == :gchart %> <img src="<%= graph_name %>.png?<%= Time.now.to_i %>" /> <% else %> <canvas id="graph"></canvas> <script language="javascript" src="<%= graph_name %>.js?<%= Time.now.to_i %>" type="text/javascript"></script> <% end %> <table> <tr> <th>File Path</th> <th>Method</th> <th>Description</th> <th>Type</th> </tr> <% count = 0 %> <% @reek[:matches].each do |match| %> <% match[:code_smells].each do |smell| %> <tr class='<%= cycle("light", "dark", count) %>'> <td><%= link_to_filename(match[:file_path]) %></td> <td> <%= smell[:method] %> </td> <td> <%= smell[:message] %> </td> <td> <%= smell[:type] %> </td> </tr> <% count += 1 %> <% end %> <% end %> </table> <p>Generated on <%= Time.now.localtime %></p>
Version data entries
5 entries across 5 versions & 1 rubygems