C0 code coverage information

Generated on Sat Feb 02 17:44:22 +0100 2008 with rcov 0.8.1.2


Code reported as executed by Ruby looks like this...
and this: this line is also marked as covered.
Lines considered as run by rcov, but not reported by Ruby, look like this,
and this: these lines were inferred by rcov (using simple heuristics).
Finally, here's a line marked as not executed.
Name Total lines Lines of code Total coverage Code coverage
examples/element.rb 45 39
100.0% 
100.0% 
 1 require 'rubygems'
 2 require 'ramaze'
 3 
 4 class Page < Ezamar::Element
 5   def render
 6     %{
 7      <html>
 8       <head>
 9         <title>examples/element</title>
10       </head>
11       <body>
12         <h1>#{@title}</h1>
13         #{content}
14       </body>
15     </html>
16     }
17   end
18 end
19 
20 class SideBar < Ezamar::Element
21   def render
22     %{
23      <div class="sidebar">
24        <a href="http://something.com">something</a>
25      </div>
26      }
27   end
28 end
29 
30 class MainController < Ramaze::Controller
31   map '/'
32 
33   def index
34     %{
35     <Page title="Test">
36       <SideBar />
37       <p>
38         Hello, World!
39       </p>
40     </Page>
41     }
42   end
43 end
44 
45 Ramaze.start

Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.

Valid XHTML 1.0! Valid CSS!