Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
rcov/ruby/1.8/gems/rspec-expectations-2.5.0/lib/rspec/expectations/extensions/array.rb | 7 | 7 | 28.57%
|
28.57%
|
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 class Array |
2 unless public_instance_methods.map {|m| m.to_s}.include?('none?') |
3 def none?(&block) |
4 !any?(&block) |
5 end |
6 end |
7 end |
Generated on Fri Apr 22 17:22:41 -0700 2011 with rcov 0.9.8