coverage
e$B$G!"%9%l%C%IFb$GF0:n$7$?%3!<%I$,?t$($i$l$J$$$h$&$J$N$G$9$,!"e(B
e$B$=$&$$$&$b$N$J$s$G$7$?$C$1e(B?
% cat z.rb
Thread.new {
100.times {
1 + 1
}
}.join
% ./ruby -rcoverage -ve ’
Coverage.start
load “z.rb”
p Coverage.result
’
ruby 1.9.2dev (2010-01-03 trunk 26233) [i686-linux]
{“z.rb”=>[1, 0, 0, nil, nil]}
e$B%9%l%C%I$G$J$1$l$P?t$($i$l$^$9!#e(B
% cat z2.rb
100.times {
1 + 1
}
% ./ruby -rcoverage -ve ’
Coverage.start
load “z2.rb”
p Coverage.result
’
ruby 1.9.2dev (2010-01-03 trunk 26233) [i686-linux]
{“z2.rb”=>[1, 100, nil]}