C0 code coverage information

Generated on Wed Aug 01 14:04:25 -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/attributes/source_file.rb 24 18
91.7% 
88.9% 
 1 module YAJD
 2 
 3 module Attributes
 4 
 5 class SourceFileInfo < AttributeInfo
 6     def initialize(constant_pool, attribute_name_index, parent, f)
    def initialize(constant_pool, attribute_name_index, parent, f)
      9   lib/attributes/attribute.rb:14 in '#<Class:YAJD::Attributes>#factory'

 7         super(constant_pool, attribute_name_index, parent)
        super(constant_pool, attribute_name_index, parent)
      9   YAJD::Attributes::AttributeInfo#initialize at lib/attributes/attribute.rb:31

 8         length = f.read_u4
        length = f.read_u4
      9   File#read_u4 at lib/ext/file.rb:15

 9         unless length == 2
10             raise "inconsistent length for source file attribute (#{length} != 2)"
11         end
12         @sourcefile_index = f.read_u2
        @sourcefile_index = f.read_u2
      9   File#read_u2 at lib/ext/file.rb:10

13     end
14 
15     attr_reader :sourcefile_index
16 
17     def source_file
    def source_file
     18   lib/class_file.rb:113 in 'YAJD::ClassFile#source_file'

18         pool.at(@sourcefile_index).bytes
        pool.at(@sourcefile_index).bytes
     18   YAJD::ConstantPool::Pool#at at lib/constant_pool.rb:42

19     end
20 end
21 
22 end
23 
24 end

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

Valid XHTML 1.0! Valid CSS!