Fumoffu C0 Coverage Information - RCov

lib/fumoffu.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/fumoffu.rb 48 37
100.00%
100.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 # Include local files
2 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'fumoffu'))
3 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'fumoffu','generators'))
4 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'fumoffu','utils'))
5 
6 module Fumoffu
7   class Application
8     @@app_dir = Dir.pwd
9 
10     def self.app_dir
11        @@app_dir
12     end
13     
14     def self.app_dir=new_loc
15        @@app_dir = new_loc
16     end
17     
18     def initialize
19       load_all
20     end
21     
22     private
23     
24     def load_all
25       load_generators
26       load_java_mapping
27       load_utils
28       load_default
29     end
30 
31     def load_default
32       require 'controller'
33       require 'handler'
34     end
35     
36     def load_generators
37       require "fumoffu_generator"
38     end
39     
40     def load_java_mapping
41       require 'java_mapping'
42     end
43     
44     def load_utils
45       require 'component_search'
46     end
47   end
48 end

Generated on Tue Apr 19 07:59:25 +0200 2011 with rcov 0.9.8