Branch Coverage

blib/lib/Module/Setup/Flavor.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
15 18 57 unless $class
17 49 26 unless ($data_cache{$class})
20 1 48 unless $data
23 1 47 if (scalar @template == 1 and not defined $template[0]) { }
36 1 8 if $@
42 7 61 if (exists $$tmpl{'config'})
43 5 2 unless $$args{'template_config'}
47 18 59 unless exists $$tmpl{$type}
49 1 58 if $$args{'template_loaded'}{$key}++
52 3 55 if (ref $template eq 'HASH' and $$template{'patch'})
55 0 3 if $@
59 51 7 unless $template
80 2 13 if (exists $$tmpl{'config'})
85 12 11 unless exists $$tmpl{$type}
104 6 1 if $$args{'template_config'}