C0 code coverage information

Generated on Sat May 27 21:23:31 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/base_controller.rb 19 14
89.5% 
85.7% 
 1 class Admin::BaseController < ApplicationController
 2   cattr_accessor :look_for_migrations
 3   @@look_for_migrations = true
 4   
 5   layout 'administration'
 6   before_filter :login_required, :except => [ :login, :signup ]
 7   before_filter :look_for_needed_db_updates, :except => [:login, :signup, :update_database, :migrate]
 8 
 9   cache_sweeper :blog_sweeper
10 
11   private
12   
13   def look_for_needed_db_updates
This method was called by:

     46   vendor/rails/actionpack/lib/action_controller/filters.rb:354 in 'call_filters'

14     if Migrator.offer_migration_when_available
15       redirect_to :controller => '/admin/general', :action => 'update_database' if Migrator.current_schema_version != Migrator.max_schema_version
16     end
17   end
18   
19 end

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

Valid XHTML 1.0! Valid CSS!