C0 code coverage information

Generated on Sat Feb 02 17:44:25 +0100 2008 with rcov 0.8.1.2


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
lib/ramaze/dispatcher/action.rb 36 19
100.0% 
100.0% 
 1 #          Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
 2 # All files in this distribution are subject to the terms of the Ruby license.
 3 
 4 module Ramaze
 5   module Dispatcher
 6 
 7     # This dispatcher is responsible for relaying requests to Controller::handle
 8     # and filtering the results using FILTER.
 9 
10     class Action
11 
12       # The response is passed to each filter by sending .call(response) to it.
13 
14       FILTER = OrderedSet.new(
15         # Ramaze::Tool::Localize,
16       ) unless defined?(FILTER)
17 
18       class << self
19         include Trinity
20 
21         # Takes path, asks Controller to handle it and builds a response on
22         # success. The response is then passed to each member of FILTER for
23         # post-processing.
24 
25         def process(path)
26           Inform.info("Dynamic request from #{request.ip}: #{request.request_uri}")
27           body = Controller.handle(path)
28           response = Response.current.build(body)
29           FILTER.inject(response){|r,f| f.call(r) }
30         rescue Ramaze::Error => ex
31           ex
32         end
33       end
34     end
35   end
36 end

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

Valid XHTML 1.0! Valid CSS!