Fumoffu C0 Coverage Information - RCov

lib/fumoffu/generators/fumoffu_generator.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/fumoffu/generators/fumoffu_generator.rb 32 25
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 Dir[File.dirname(__FILE__).concat("/*.rb")].each {|file| require file }
2 
3 module Fumoffu
4   module Generators
5      class Application
6 
7        def self.generate
8          # we generate the configuration
9          Configuration.generate
10          Lib.generate
11          Source.generate
12 
13          cp_r "#{File.dirname(__FILE__)}/templates/scripts", "#{Fumoffu::Application.app_dir}/", :verbose => false
14 
15          # We generate the sources from where it is executed
16          @dir_structure = [
17            "dist",
18            "engine/log",
19            "engine/resources",
20            "interface/resources/medias",
21            "scripts",
22            "interface/test",
23            "engine/test/spec"
24            ]
25            
26          @dir_structure.each do |dir|
27            mkdir_p "#{Fumoffu::Application.app_dir}/#{dir}", :verbose => false
28          end
29        end
30      end
31   end
32 end

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