Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
rcov/ruby/1.8/gems/rspec-core-2.5.1/lib/rspec/core/shared_context.rb | 16 | 14 | 37.50%
|
35.71%
|
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 RSpec |
2 module Core |
3 module SharedContext |
4 include Hooks |
5 |
6 def included(group) |
7 [:before, :after].each do |type| |
8 [:all, :each].each do |scope| |
9 group.hooks[type][scope].concat hooks[type][scope] |
10 end |
11 end |
12 end |
13 |
14 end |
15 end |
16 end |
Generated on Fri Apr 22 17:22:41 -0700 2011 with rcov 0.9.8