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 class Admin::UsersController < 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 list
Calls
1 Controllers::Admin::UsersController#list at app/controllers/admin/users_controller.rb:8
5 render_action 'list'
Calls
1 ActionController::Base#render_action at vendor/rails/actionpack/lib/action_controller/base.rb:643
6 end
7
8 def list
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'
1 app/controllers/admin/users_controller.rb:4 in 'Controllers::Admin::UsersController#index'
9 @users = User.find_all
Calls
2 #<Class:ActiveRecord::Base>#find_all at vendor/rails/activerecord/lib/active_record/deprecated_finders.rb:35
10 end
11
12 def show
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
13 @user = User.find(params[:id])
14 end
15
16 def new
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
17 @user = User.new(params[:user])
18 if request.post? and @user.save
19 flash[:notice] = 'User was successfully created.'
20 redirect_to :action => 'list'
21 end
22 end
23
24 def edit
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
25 @user = User.find(params[:id])
26 @user.attributes = params[:user]
27 if request.post? and @user.save
28 flash[:notice] = 'User was successfully updated.'
29 redirect_to :action => 'show', :id => @user.id
30 end
31 @user.password = @user.password_confirmation = ''
32 end
33
34 def destroy
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
35 @user = User.find(params[:id])
36 if request.post?
37 @user.destroy
38 redirect_to :action => 'list'
39 end
40 end
41
42 end
Generated using the rcov code coverage analysis tool for Ruby version 0.6.0.