Geminstaller C0 Coverage Information - RCov

/Users/woolley/.rvm/gems/ruby-1.8.7-p174@geminstaller/gems/rspec-1.3.0/lib/spec/runner/class_and_arguments_parser.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/runner/class_and_arguments_parser.rb 14 14
50.00%
50.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 module Spec
2   module Runner
3     class ClassAndArgumentsParser
4       def self.parse(s)
5         if s =~ /([a-zA-Z_]+(?:::[a-zA-Z_]+)*):?(.*)/
6           arg = $2 == "" ? nil : $2
7           [$1, arg]
8         else
9           raise "Couldn't parse #{s.inspect}"
10         end
11       end
12     end
13   end
14 end

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