C0 code coverage information

Generated on Sat Feb 02 17:44:26 +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
lib/ramaze/helper/cgi.rb 41 19
80.5% 
57.9% 
 1 #          Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
 2 # All files in this distribution are subject to the terms of the Ruby license.
 3 
 4 module Ramaze
 5 
 6   # Shortcuts to some CGI methods
 7 
 8   module CgiHelper
 9     private
10 
11     # shortcut for CGI.escape
12 
13     def url_encode(*args)
14       CGI.escape(*args)
15     end
16 
17     # shortcut for CGI.unescape
18 
19     def url_decode(*args)
20       CGI.unescape(*args)
21     end
22 
23     # shortcut for CGI.escapeHTML
24 
25     def html_escape(string)
26       CGI.escapeHTML(string)
27     end
28 
29     # shortcut for CGI.unescapeHTML
30 
31     def html_unescape(string)
32       CGI.unescapeHTML(string)
33     end
34 
35     # one-letter versions help in case like #{h foo.inspect}
36     # ERb/ERuby/Rails compatible
37     alias h html_escape
38     alias u url_encode
39 
40   end
41 end

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

Valid XHTML 1.0! Valid CSS!