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/method_descriptor.rb 21 17
71.4% 
70.6% 
 1 module YAJD
 2 
 3 class MethodDescriptor
 4     attr_reader :return_type, :args
 5 
 6     def initialize(value)
    def initialize(value)
    248   lib/visitor/javap/code_info.rb:326 in 'YAJD::Visitor::Javap::CodeInfoVisitor#dump_code'
    248   lib/visitor/javap/method_info.rb:14 in 'YAJD::Visitor::Javap::MethodInfoVisitor#header'
      1   test/tc_method_descriptor.rb:34 in 'TestMethodDescriptor#test_class'
      1   test/tc_method_descriptor.rb:24 in 'TestMethodDescriptor#test_array'
      1   test/tc_method_descriptor.rb:18 in 'TestMethodDescriptor#test_two'
      1   test/tc_method_descriptor.rb:28 in 'TestMethodDescriptor#test_array'
      1   test/tc_method_descriptor.rb:6 in 'TestMethodDescriptor#test_zero'
      1   test/tc_method_descriptor.rb:12 in 'TestMethodDescriptor#test_one'

 7         if value =~ /\(([^\)]*)\)(.+)/
 8             @args = Descriptor.new($1).elements
            @args = Descriptor.new($1).elements
    502   YAJD::Descriptor#initialize at lib/descriptor.rb:6

 9             @return_type = ($2 == 'V' ? ['void'] : Descriptor.new($2).elements)
            @return_type = ($2 == 'V' ? ['void'] : Descriptor.new($2).elements)
    198   YAJD::Descriptor#initialize at lib/descriptor.rb:6

10             if @return_type.size != 1
11                 raise "Invalid return type (#{@return_type.join(',')})"
12             end
13             @return_type = @return_type[0]
14         else
15             #TODO check with the docs the format of the method descriptor
16             raise "Invalid method signature (#{value})"
17         end
18     end
19 end
20 
21 end

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

Valid XHTML 1.0! Valid CSS!