Sha256: 8a49ae540b84a3f346e300263ddcca4ad59cbc88cf192a86af83ca754cd1ee07
Contents?: true
Size: 1.75 KB
Versions: 3
Compression:
Stored size: 1.75 KB
Contents
<h3>Saikuro Results</h3> <p><a href='http://saikuro.rubyforge.org/'>Saikuro</a> analyzes ruby code for cyclomatic complexity.</p> <h2>Analyzed Methods</h2> <table class="sortable"> <tr> <th>Method Name</th> <th>Complexity</th> <th># Lines</th> </tr> <% @saikuro[:methods].each do |method| %> <tr> <td><%= method[:name] %></td> <td><%= method[:complexity] %></td> <td><%= method[:lines] %></td> </tr> <% end %> </table> <h2>Analyzed Classes</h2> <table class="sortable"> <tr> <th>Class Name</th> <th>Complexity</th> <th># Lines</th> </tr> <% @saikuro[:classes].each do |klass| %> <tr> <td><%= klass[:name] %></td> <td><%= klass[:complexity] %></td> <td><%= klass[:lines] %></td> </tr> <% end %> </table> <h2>Analyzed Files</h2> <% @saikuro[:files].each do |file| %> <% file[:classes].each do |klass| %> <% if !klass[:methods].empty? %> <h3><%= file[:filename] %></h3> <h4>Class : <%= klass[:class_name] %></h4> <h5>Total complexity : <%= klass[:complexity] %></h5> <h5>Total lines : <%= klass[:lines] %></h5> <table class="sortable"> <tr> <th>Method</th> <th>Complexity</th> <th># Lines</th> </tr> <% klass[:methods].each do |method| %> <tr> <td> <%= method[:name] %> </td> <td> <%= method[:complexity] %> </td> <td> <%= method[:lines] %> </td> </tr> <% end %> </table> <% end %> <% end %> <% end %> <p>Generated on <%= Time.now.localtime %></p>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iain-metric_fu-0.1.0 | lib/templates/awesome/saikuro.html.erb |
iain-metric_fu-0.1.1 | lib/templates/awesome/saikuro.html.erb |
iain-metric_fu-0.1.2 | lib/templates/awesome/saikuro.html.erb |