C0 code coverage information
Generated on Sat, Dec 16 2006 23:09:02 +0900 with rcov 0.7.1
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 |
sample_03.rb
|
20
|
14
|
|
|
1
2 module Rcov; module Test; module Temporary; class Sample03
3 def f1 # MUST NOT CHANGE the position or the tests will break
4 10.times { f2 }
5 end
6
7 def f2; 1 end
8
9 def f3
10 10.times{ f1 }
11 100.times{ f2 }
12 end
13
14 def self.g1
15 10.times{ g2 }
16 end
17
18 def self.g2; 1 end
19 # safe from here ...
20 end end end end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.