C0 code coverage information

Generated on Sun Jun 11 23:15:09 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.
Name Total lines Lines of code Total coverage Code coverage
app/apis/typo_web_service.rb 17 13
76.5% 
69.2% 
 1 class TypoWebService < ActionWebService::Base
Calls
      1   Class#inherited at vendor/rails/activesupport/lib/active_support/class_inheritable_attributes.rb:108

 2 
 3   protected
 4 
 5   def authenticate(name, args)
Calls
      1   #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
Called by
     23   vendor/rails/actionwebservice/lib/action_web_service/invocation.rb:163 in 'ActionWebService::Invocation::InstanceMethods#call_interceptors'

 6     method = self.class.web_service_api.api_methods[name]
Calls
     23   ActionWebService::Container::Direct::ClassMethods#web_service_api at vendor/rails/actionwebservice/lib/action_web_service/container/direct_container.rb:42
     23   #<Class:ActionWebService::API::Base>#api_methods at vendor/rails/actionwebservice/lib/action_web_service/api.rb:120

 7 
 8     # Coping with backwards incompatibility change in AWS releases post 0.6.2
 9     begin
10       h = method.expects_to_hash(args)
Calls
     23   ActionWebService::API::Method#expects_to_hash at vendor/rails/actionwebservice/lib/action_web_service/api.rb:204

11       raise "Invalid login" unless @user=User.authenticate(h[:username], h[:password])  
Calls
     23   #<Class:User>#authenticate at app/models/user.rb:15

12     rescue NoMethodError
13       username, password = method[:expects].index(:username=>String), method[:expects].index(:password=>String)
14       raise "Invalid login" unless @user = User.authenticate(args[username], args[password])  
15     end
16   end
17 end

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

Valid XHTML 1.0! Valid CSS!