Sha256: ead808352e69eebccf545d461fad7a6dd0b744af182c9de00eb196ecdf9d1af6

Contents?: true

Size: 1.99 KB

Versions: 47

Compression:

Stored size: 1.99 KB

Contents

<html>
<head>
	<title>Saikuro Results</title>
	<style>
	<%= inline_css("default.css") %>	
	</style>
</head>

<body>
  <h1>Saikuro Results</h1>
  <a href="index.html">back to menu</a>
  <p><a href='http://saikuro.rubyforge.org/'>Saikuro</a> analyzes ruby code for cyclomatic complexity.</p>

  <h2>Analyzed Methods</h2>
    <table>
      <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>
      <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>
              <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>	
</body>
</html>

Version data entries

47 entries across 47 versions & 18 rubygems

Version Path
IPGlider-metric_fu-1.1.5.1.1 lib/templates/standard/saikuro.html.erb
IPGlider-metric_fu-1.1.5.1 lib/templates/standard/saikuro.html.erb
cayblood-metric_fu-1.1.6 lib/templates/standard/saikuro.html.erb
edouard-metric_fu-1.0.2 lib/templates/standard/saikuro.html.erb
edouard-metric_fu-1.1.1 lib/templates/standard/saikuro.html.erb
gforces-metric_fu-1.1.4 lib/templates/standard/saikuro.html.erb
iain-metric_fu-0.1.0 lib/templates/standard/saikuro.html.erb
iain-metric_fu-0.1.1 lib/templates/standard/saikuro.html.erb
iain-metric_fu-0.1.2 lib/templates/standard/saikuro.html.erb
jscruggs-metric_fu-1.1.0 lib/templates/standard/saikuro.html.erb
jscruggs-metric_fu-1.1.1 lib/templates/standard/saikuro.html.erb
jscruggs-metric_fu-1.1.2 lib/templates/standard/saikuro.html.erb
jscruggs-metric_fu-1.1.3 lib/templates/standard/saikuro.html.erb
jscruggs-metric_fu-1.1.4 lib/templates/standard/saikuro.html.erb
jscruggs-metric_fu-1.1.5 lib/templates/standard/saikuro.html.erb
kjeldahl-metric_fu-1.1.5.1 lib/templates/standard/saikuro.html.erb
kjeldahl-metric_fu-1.1.5.2 lib/templates/standard/saikuro.html.erb
kjeldahl-metric_fu-1.1.5.3 lib/templates/standard/saikuro.html.erb
kjeldahl-metric_fu-1.1.5.4 lib/templates/standard/saikuro.html.erb
kjeldahl-metric_fu-1.1.5 lib/templates/standard/saikuro.html.erb