C0 code coverage information

Generated on Wed Oct 07 08:33:55 -0700 2009 with rcov 0.8.2.1


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.
Name Total lines Lines of code Total coverage Code coverage
Rakefile 45 21
64.4%  
23.8%  
 1 # Licensed to the Apache Software Foundation (ASF) under one or more
 2 # contributor license agreements.  See the NOTICE file distributed with this
 3 # work for additional information regarding copyright ownership.  The ASF
 4 # licenses this file to you under the Apache License, Version 2.0 (the
 5 # "License"); you may not use this file except in compliance with the License.
 6 # You may obtain a copy of the License at
 7 #
 8 #    http://www.apache.org/licenses/LICENSE-2.0
 9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
13 # License for the specific language governing permissions and limitations under
14 # the License.
15 
16 
17 # We need JAVA_HOME for most things (setup, spec, etc).
18 unless ENV['JAVA_HOME']
19   if RUBY_PLATFORM[/java/]
20     ENV['JAVA_HOME'] = java.lang.System.getProperty('java.home')
21   elsif RUBY_PLATFORM[/darwin/]
22     ENV['JAVA_HOME'] = '/System/Library/Frameworks/JavaVM.framework/Home'
23   else
24     fail "Please set JAVA_HOME first (set JAVA_HOME=... or env JAVA_HOME=... rake ...)"
25   end
26 end
27 
28 
29 # Load the Gem specification for the current platform (Ruby or JRuby).
30 def spec(platform = RUBY_PLATFORM[/java/] || 'ruby')
31   @specs ||= ['ruby', 'java', 'x86-mswin32'].inject({}) { |hash, spec_platform|
32     $platform = spec_platform
33     hash.update(spec_platform=>Gem::Specification.load('buildr.gemspec'))
34   }
35   @specs[platform]
36 end
37 
38 # Tell us if we need sudo for various commands.
39 def sudo_needed?
40   Config::CONFIG['host_os'] !~ /windows|cygwin|bccwin|cygwin|djgpp|mingw|mswin|wince/i && !ENV['GEM_HOME']
41 end
42 
43 
44 desc 'Clean up all temporary directories used for running tests, creating documentation, packaging, etc.'
45 task :clobber

Generated using the rcov code coverage analysis tool for Ruby version 0.8.2.1.

Valid XHTML 1.0! Valid CSS!