Geminstaller C0 Coverage Information - RCov

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

Name Total Lines Lines of Code Total Coverage Code Coverage
spec/fixture/rubygems_dist/rubygems-trunk/lib/rubygems/ext/configure_builder.rb 25 12
48.00%
25.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 #--
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 
9 class Gem::Ext::ConfigureBuilder < Gem::Ext::Builder
10 
11   def self.build(extension, directory, dest_path, results)
12     unless File.exist?('Makefile') then
13       cmd = "sh ./configure --prefix=#{dest_path}"
14       cmd << " #{Gem::Command.build_args.join ' '}" unless Gem::Command.build_args.empty?
15 
16       run cmd, results
17     end
18 
19     make dest_path, results
20 
21     results
22   end
23 
24 end
25 

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