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.
1 module YAJD
2
3 module Attributes
4
5 class LineNumberTableInfo < AttributeInfo
6 def initialize(constant_pool, attribute_name_index, parent, f)
def initialize(constant_pool, attribute_name_index, parent, f)
246 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)
246 YAJD::Attributes::AttributeInfo#initialize at lib/attributes/attribute.rb:31
8 #TODO do something with it
9 f.read_u4
f.read_u4
246 File#read_u4 at lib/ext/file.rb:15
10 @line_number_table = []
11 #TODO use f.read_list
12 size = f.read_u2
size = f.read_u2
246 File#read_u2 at lib/ext/file.rb:10
13 size.times do
14 @line_number_table << {
15 :start_pc => f.read_u2, :line_number => f.read_u2
:start_pc => f.read_u2, :line_number => f.read_u2
2150 File#read_u2 at lib/ext/file.rb:10
16 }
17 end
18 end
19
20 attr_reader :line_number_table
21
22 def line_number_table_length
23 @line_number_table.size
24 end
25 end
26
27 end
28
29 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.