C0 code coverage information

Generated on Sat May 27 21:23:32 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
app/controllers/admin/themes_controller.rb 23 15
43.5% 
46.7% 
 1 class Admin::ThemesController < Admin::BaseController
 2   
 3   def index
This method was called by:

      1   vendor/rails/actionpack/lib/action_controller/base.rb:853 in 'perform_action_without_filters'

 4     @themes = Theme.find_all
 5     @active = Theme.current
 6   end
 7   
 8   def preview
 9     send_file "#{Theme.themes_root}/#{params[:theme]}/preview.png", :type => 'image/png', :disposition => 'inline', :stream => false
10   end
11   
12   def switchto
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.5.0.

Valid XHTML 1.0! Valid CSS!