C0 code coverage information

Generated on Wed Aug 01 14:04:27 -0300 2007 with rcov 0.8.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
lib/pool_helper.rb 23 16
73.9% 
75.0% 
 1 module YAJD
 2 
 3 module PoolHelper
 4 
 5 def self.included(base)
def self.included(base)
      1   lib/attributes/signature.rb:8 in '#'
      1   lib/attributes/attribute.rb:23 in '#'
      1   lib/attributes/constant_value.rb:8 in '#'
      1   lib/constant_pool/cpinfo.rb:144 in '#'
      1   lib/attributes/inner_classes.rb:23 in '#'
      1   lib/constant_pool/cpinfo.rb:123 in '#'
      1   lib/constant_pool/strings.rb:8 in '#'
      1   lib/attributes/code.rb:43 in '#'
      1   lib/common.rb:8 in '#'

 6     #TODO methods created with this are not shown in rcov. find why.
 7     base.class_eval do
 8         def self.pool_getter(method_name, index_attr=nil)
        def self.pool_getter(method_name, index_attr=nil)
      1   lib/attributes/inner_classes.rb:38 in '#'
      1   lib/attributes/inner_classes.rb:36 in '#'
      1   lib/attributes/inner_classes.rb:37 in '#'

 9             index_attr = "#{method_name}_index" if index_attr.nil?
10 
11             #TODO find another way, maybe using heredoc?
12             module_eval "
13                 def #{method_name}
14                     @pool.at(\@#{index_attr})
15                 end
16             "
17         end
18     end
19 end
20 
21 end
22 
23 end

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

Valid XHTML 1.0! Valid CSS!