C0 code coverage information

Generated on Sun Jun 11 23:15:13 CEST 2006 with rcov 0.6.0


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
app/helpers/xml_helper.rb 25 20
100.0% 
100.0% 
 1 module XmlHelper
 2   def pub_date(time)
Called by
      3   app/views/xml/rss.rxml:17 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_rss'
      2   app/views/xml/trackbackrss.rxml:14 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_trackbackrss'
      2   app/views/xml/commentrss.rxml:14 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_commentrss'
      1   app/views/xml/articlerss.rxml:14 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_articlerss'
      1   app/views/xml/articlerss.rxml:23 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_articlerss'

 3     time.strftime "%a, %e %b %Y %H:%M:%S %Z"
 4   end
 5 
 6   def post_title(post)
Called by
      3   app/views/xml/rss.rxml:13 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_rss'
      3   app/views/xml/atom.rxml:21 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_atom'

 7     "#{h post.title}"
Calls
      6   ERB::Util#h at /home/batsman/usr/lib/ruby/1.8/erb.rb:782
      6   Article#title at (eval):1

 8   end
 9 
10   def post_link(post)
Called by
      3   app/views/xml/atom.rxml:23 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_atom'
      3   app/views/xml/rss.rxml:19 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_rss'
      3   app/views/xml/rss.rxml:18 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_rss'

11     article_url(post, false)
Calls
      9   ApplicationHelper#article_url at app/helpers/application_helper.rb:76

12   end
13   
14   def comment_link(comment)
Called by
      2   app/views/xml/commentrss.rxml:16 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_commentrss'
      2   app/views/xml/commentrss.rxml:15 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_commentrss'
      1   app/views/xml/articlerss.rxml:16 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_articlerss'
      1   app/views/xml/articlerss.rxml:15 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_articlerss'

15     comment_url(comment, false)
Calls
      6   ApplicationHelper#comment_url at app/helpers/application_helper.rb:84

16   end
17   
18   def trackback_link(trackback)
Called by
      2   app/views/xml/trackbackrss.rxml:15 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_trackbackrss'

19     trackback_url(trackback, false)
Calls
      2   ApplicationHelper#trackback_url at app/helpers/application_helper.rb:89

20   end
21   
22   def blog_title
Called by
      1   app/views/xml/rss.rxml:9 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_rss'
      1   app/views/xml/atom.rxml:4 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_atom'
      1   app/views/xml/articlerss.rxml:8 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_articlerss'
      1   app/views/xml/trackbackrss.rxml:8 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_trackbackrss'
      1   app/views/xml/commentrss.rxml:8 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_commentrss'
      1   app/views/xml/articlerss.rxml:4 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_articlerss'
      1   app/views/xml/commentrss.rxml:4 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_commentrss'
      1   app/views/xml/rss.rxml:5 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_rss'
      1   app/views/xml/trackbackrss.rxml:4 in 'ActionView::Base::CompiledTemplates#_run_xml_xml_trackbackrss'

23     config_value("blog_name") || "Unnamed blog"
Calls
      9   ApplicationHelper#config_value at app/helpers/application_helper.rb:60

24   end
25 end

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

Valid XHTML 1.0! Valid CSS!