C0 code coverage information

Generated on Sat Feb 02 17:44:23 +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/templates/template_ezamar.rb 50 40
64.0% 
65.0% 
 1 require 'rubygems'
 2 require 'ramaze'
 3 
 4 class MainController < Ramaze::Controller
 5   template_root __DIR__/:template
 6 
 7   def index
 8     %{ #{A 'Home', :href => :/} | #{A(:internal)} | #{A(:external)} }
 9   end
10 
11   def internal *args
12     @args = args
13     %q{
14 <html>
15   <head>
16     <title>Template::Ezamar internal</title>
17   </head>
18   <body>
19   <h1>The internal Template for Ezamar</h1>
20     #{A 'Home', :href => :/}
21     <p>
22       Here you can pass some stuff if you like, parameters are just passed like this:<br />
23       #{A("internal/one")}<br />
24       #{A("internal/one/two/three")}<br />
25       #{A("internal/one?foo=bar")}<br />
26     </p>
27     <div>
28       The arguments you have passed to this action are:
29       <?r if @args.empty? ?>
30         none
31       <?r else ?>
32         <?r @args.each do |arg| ?>
33           <span>#{arg}</span>
34         <?r end ?>
35       <?r end ?>
36     </div>
37     <div>
38       #{request.params.inspect}
39     </div>
40   </body>
41 </html>
42     }
43   end
44 
45   def external *args
46     @args = args
47   end
48 end
49 
50 Ramaze.start

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

Valid XHTML 1.0! Valid CSS!