Branch Coverage

blib/lib/Hook/Modular/ConfigLoader.pm
Criterion Covered Total %
branch 8 30 26.6


line true false branch
23 7 5 if (not ref $stuff and $stuff eq '-' or -e $stuff and -r _) { }
2 3 elsif (ref $stuff and ref $stuff eq 'SCALAR') { }
3 0 elsif (ref $stuff and ref $stuff eq 'HASH') { }
26 7 0 if $context
34 12 0 unless ($$config{'global'} and $$config{'global'}{'no_decode_utf8'})
42 12 0 unless my $includes = $$config{'include'}
43 0 0 unless ref $includes
48 0 0 unless ($$config{$key})
52 0 0 if (ref $$config{$key} eq 'HASH') { }
0 0 elsif (ref $$include{$key} eq 'ARRAY') { }
0 0 elsif ($add) { }
53 0 0 unless ref $add eq 'HASH'
58 0 0 unless ref $add eq 'ARRAY'
70 0 0 unless $$config{'define_recipes'}{$_}
73 0 0 unless ref $plugin eq 'ARRAY'