C0 code coverage information

Generated on Tue May 30 23:34:44 CEST 2006 with rcov 0.5.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
config/routes.rb 74 52
100.0% 
100.0% 
 1 ActionController::Routing::Routes.draw do |map|
 2 
 3   # default   
 4   map.index '', :controller  => 'articles', :action => 'index'
 5   map.admin 'admin', :controller  => 'admin/general', :action => 'index'
 6   
 7   # admin/comments controller needs parent article id
 8   map.connect 'admin/comments/article/:article_id/:action/:id',
 9     :controller => 'admin/comments', :action => nil, :id => nil
10   map.connect 'admin/trackback/article/:article_id/:action/:id',
11     :controller => 'admin/trackback', :action => nil, :id => nil
12   map.connect 'admin/content/:action/:id', :controller => 'admin/content'
13 
14   # make rss feed urls pretty and let them end in .xml
15   # this improves caches_page because now apache and webrick will send out the 
16   # cached feeds with the correct xml mime type. 
17   map.xml 'xml/:action/feed.xml', :controller => 'xml'
18   map.xml 'xml/articlerss/:id/feed.xml', :controller => 'xml', :action => 'articlerss'
19 
20   # allow neat perma urls
21   map.connect 'articles',
22     :controller => 'articles', :action => 'index'
23   map.connect 'articles/page/:page',
24     :controller => 'articles', :action => 'index',
25     :page => /\d+/
26 
27   map.connect 'articles/:year/:month/:day/page/:page',
28     :controller => 'articles', :action => 'find_by_date',
29     :year => /\d{4}/, :month => /\d{1,2}/, :day => /\d{1,2}/, :page => /\d+/
30   map.connect 'articles/:year/:month/page/:page',
31     :controller => 'articles', :action => 'find_by_date',
32     :year => /\d{4}/, :month => /\d{1,2}/, :page => /\d+/
33   map.connect 'articles/:year/page/:page',
34     :controller => 'articles', :action => 'find_by_date',
35     :year => /\d{4}/, :page => /\d+/
36 
37   map.connect 'articles/:year/:month/:day',
38     :controller => 'articles', :action => 'find_by_date',
39     :year => /\d{4}/, :month => /\d{1,2}/, :day => /\d{1,2}/
40   map.connect 'articles/:year/:month',
41     :controller => 'articles', :action => 'find_by_date',
42     :year => /\d{4}/, :month => /\d{1,2}/
43   map.connect 'articles/:year',
44     :controller => 'articles', :action => 'find_by_date',
45     :year => /\d{4}/
46 
47   map.connect 'articles/:year/:month/:day/:title',
48     :controller => 'articles', :action => 'permalink',
49     :year => /\d{4}/, :day => /\d{1,2}/, :month => /\d{1,2}/
50 
51   map.connect 'articles/category/:id',
52     :controller => 'articles', :action => 'category'
53   map.connect 'articles/category/:id/page/:page',
54     :controller => 'articles', :action => 'category',
55     :page => /\d+/
56 
57   map.connect 'pages/*name',:controller => 'articles', :action => 'view_page'
58 
59   map.connect 'stylesheets/theme/:filename',
60     :controller => 'theme', :action => 'stylesheets'
61   map.connect 'javascript/theme/:filename',
62     :controller => 'theme', :action => 'javascript'
63   map.connect 'images/theme/:filename',
64     :controller => 'theme', :action => 'images'
65 
66   # Kill attempts to connect directly to the theme controller.
67   # Ideally we'd disable these by removing the default route (below),
68   # but that breaks too many things for Typo 2.5.
69   map.connect 'theme/*stuff',
70     :controller => 'theme', :action => 'error'
71      
72   # Allow legacy urls to still work
73   map.connect ':controller/:action/:id'
74 end

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

Valid XHTML 1.0! Valid CSS!