Geminstaller C0 Coverage Information - RCov

spec/fixture/rubygems_dist/rubygems-trunk/lib/rubygems/ext/ext_conf_builder.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
spec/fixture/rubygems_dist/rubygems-trunk/lib/rubygems/ext/ext_conf_builder.rb 24 11
54.17%
36.36%

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 #--
2 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
3 # All rights reserved.
4 # See LICENSE.txt for permissions.
5 #++
6 
7 require 'rubygems/ext/builder'
8 require 'rubygems/command'
9 
10 class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
11 
12   def self.build(extension, directory, dest_path, results)
13     cmd = "#{Gem.ruby} #{File.basename extension}"
14     cmd << " #{Gem::Command.build_args.join ' '}" unless Gem::Command.build_args.empty?
15 
16     run cmd, results
17 
18     make dest_path, results
19 
20     results
21   end
22 
23 end
24 

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