C0 code coverage information

Generated on Wed Oct 07 08:34:06 -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
lib/buildr/scala/shell.rb 55 32
67.3%  
50.0%  
 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 require 'buildr/shell'
18 require 'buildr/java/commands'
19 
20 module Buildr
21   module Scala
22     class ScalaShell < Buildr::Shell::Base
23       include Buildr::Shell::JavaRebel
24       
25       class << self
26         def lang
27           :scala
28         end
29         
30         def to_sym
31           :scala
32         end
33       end
34       
35       def launch
36         cp = project.compile.dependencies + 
37           Scalac.dependencies +
38           [project.path_to(:target, :classes)]
39         
40         props = {
41           'env.classpath' => cp.join(File::PATH_SEPARATOR),
42           'scala.home' => Scalac.scala_home
43         }
44         
45         Java::Commands.java 'scala.tools.nsc.MainGenericRunner', {
46           :properties => props.merge(rebel_props(project)),
47           :classpath => cp,
48           :java_args => rebel_args
49         }
50       end
51     end
52   end
53 end
54 
55 Buildr::ShellProviders << Buildr::Scala::ScalaShell

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

Valid XHTML 1.0! Valid CSS!