C0 code coverage information

Generated on Sat May 27 21:23:30 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/apis/typo_web_service.rb 17 13
64.7% 
53.8% 
 1 class TypoWebService < ActionWebService::Base
 2 
 3   protected
 4 
 5   def authenticate(name, args)
This method was called by:

     23   vendor/rails/actionwebservice/lib/action_web_service/invocation.rb:163 in 'call_interceptors'

 6     method = self.class.web_service_api.api_methods[name]
 7 
 8     # Coping with backwards incompatibility change in AWS releases post 0.6.2
 9     begin
10       h = method.expects_to_hash(args)
11       raise "Invalid login" unless @user=User.authenticate(h[:username], h[:password])  
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.5.0.

Valid XHTML 1.0! Valid CSS!