C0 code coverage information
Generated on Sun Jun 11 23:15:10 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 class Admin::ThemesController < Admin::BaseController
Calls
1 ActionWebService::Dispatcher::ActionController::ClassMethods#inherited at vendor/rails/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:33
2
3 def index
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
Called by
1 vendor/rails/actionpack/lib/action_controller/base.rb:853 in 'ActionController::Base#perform_action_without_filters'
4 @themes = Theme.find_all
Calls
1 #<Class:Theme>#find_all at app/models/theme.rb:37
5 @active = Theme.current
Calls
1 #<Class:Theme>#current at app/models/theme.rb:28
6 end
7
8 def preview
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
9 send_file "#{Theme.themes_root}/#{params[:theme]}/preview.png", :type => 'image/png', :disposition => 'inline', :stream => false
10 end
11
12 def switchto
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
13
14 setting = (Setting.find_by_name('theme') or Setting.new("name" => 'theme'))
15
16 setting.value = params[:theme]
17 setting.save
18
19 redirect_to :action => 'index'
20
21 end
22
23 end
Generated using the rcov code coverage analysis tool for Ruby version 0.6.0.