Geminstaller C0 Coverage Information - RCov

/Users/woolley/.rvm/gems/ruby-1.8.7-p174@geminstaller/gems/rspec-1.3.0/lib/spec/matchers/compatibility.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
/Users/woolley/.rvm/gems/ruby-1.8.7-p174@geminstaller/gems/rspec-1.3.0/lib/spec/matchers/compatibility.rb 14 14
100.00%
100.00%

Key

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.

Coverage Details

1 Spec::Matchers.constants.each do |c|
2   if Class === (klass = Spec::Matchers.const_get(c))
3     if klass.public_instance_methods.any? {|m| ['failure_message_for_should',:failure_message_for_should].include?(m)}
4       klass.class_eval do
5         alias_method :failure_message, :failure_message_for_should
6       end
7     end
8     if klass.public_instance_methods.any? {|m| ['failure_message_for_should_not',:failure_message_for_should_not].include?(m)}
9       klass.class_eval do
10         alias_method :negative_failure_message, :failure_message_for_should_not
11       end
12     end
13   end
14 end

Generated on Mon May 10 23:40:27 -0700 2010 with rcov 0.9.8