C0 code coverage information
Generated on Sun Jun 11 23:15:11 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.
1
2 # The filters added to this controller will be run for all controllers in the application.
3 # Likewise will all the methods added be available for all controllers.
4 class ApplicationController < ActionController::Base
Calls
1 ActionWebService::Dispatcher::ActionController::ClassMethods#inherited at vendor/rails/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:33
5 include LoginSystem
6 model :user
Calls
1 ActionController::Dependencies::ClassMethods#model at vendor/rails/actionpack/lib/action_controller/dependencies.rb:34
7
8 before_filter :reload_settings
Calls
1 ActionController::Filters::ClassMethods#before_filter at vendor/rails/actionpack/lib/action_controller/filters.rb:175
9
10 def self.cache_page(content, path)
11 begin
12 # Don't cache the page if there are any questionmark characters in the url
13 unless path =~ /\?\w+/ or path =~ /page\d+$/
14 super(content,path)
15 PageCache.create(:name => page_cache_file(path))
16 end
17 rescue # if there's a caching error, then just return the content.
18 content
19 end
20 end
21
22 def self.expire_page(path)
23 if cache = PageCache.find(:first, :conditions => ['name = ?', path])
24 cache.destroy
25 end
26 end
27
28 def cache
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
29 $cache ||= SimpleCache.new 1.hour
30 end
31
32 def reload_settings
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
Called by
111 vendor/rails/actionpack/lib/action_controller/filters.rb:354 in 'ActionController::Filters::InstanceMethods#call_filters'
33 config.reload
Calls
111 Object#config at app/models/configuration.rb:18
111 ConfigManager#reload at app/models/config_manager.rb:11
34 end
35
36 def theme_layout
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
Called by
6 vendor/rails/actionpack/lib/action_controller/layout.rb:201 in 'ActionController::Layout#active_layout'
37 Theme.current.layout
Calls
6 Theme#layout at app/models/theme.rb:11
6 #<Class:Theme>#current at app/models/theme.rb:28
38 end
39 end
Generated using the rcov code coverage analysis tool for Ruby version 0.6.0.