C0 code coverage information

Generated on Wed Aug 01 14:04:24 -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/exceptions.rb 26 19
92.3% 
89.5% 
 1 module YAJD
 2 
 3 module Attributes
 4 
 5 class ExceptionsInfo < AttributeInfo
 6     def initialize(constant_pool, attribute_name_index, parent, f)
    def initialize(constant_pool, attribute_name_index, parent, f)
    225   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)
    225   YAJD::Attributes::AttributeInfo#initialize at lib/attributes/attribute.rb:31

 8         #TODO do something with it
 9         f.read_u4
        f.read_u4
    225   File#read_u4 at lib/ext/file.rb:15

10         @exception_index_table = f.read_list { |f| f.read_u2 }
        @exception_index_table = f.read_list { |f| f.read_u2 }
    226   File#read_u2 at lib/ext/file.rb:10
    225   File#read_list at lib/ext/file.rb:22

11         @exceptions = @exception_index_table.map do |exception_index|
12             constant_pool.at(exception_index)
            constant_pool.at(exception_index)
    226   YAJD::ConstantPool::Pool#at at lib/constant_pool.rb:42

13         end
14     end
15 
16     def number_of_exceptions
17         @exception_index_table.size
18     end
19 
20     attr_reader :exception_index_table
21     attr_reader :exceptions
22 end
23 
24 end
25 
26 end

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

Valid XHTML 1.0! Valid CSS!