Branch Coverage

blib/lib/Module/Setup/Flavor.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
15 15 51 unless $class
17 40 26 unless ($data_cache{$class})
20 1 39 unless $data
23 1 38 if (scalar @template == 1 and not defined $template[0]) { }
36 1 6 if $@
42 5 39 if (exists $tmpl->{'config'})
43 3 2 unless $args->{'template_config'}
47 18 37 unless exists $tmpl->{$type}
49 1 36 if $args->{'template_loaded'}{$key}++
51 31 5 unless $template
72 2 11 if (exists $tmpl->{'config'})
77 12 9 unless exists $tmpl->{$type}
96 4 1 if $args->{'template_config'}