Branch Coverage

blib/lib/Project/Easy/Config.pm
Criterion Covered Total %
branch 34 42 80.9


line true false branch
46 4 6 if exists $$ext_syn{$type}
51 0 10 unless try_to_use($pack)
62 0 2 unless $template
65 0 2 unless defined $$expansion{$_}
80 6 8 if ref $struct ne 'HASH' and ref $patch ne 'HASH'
82 1 7 unless (scalar keys %$struct)
97 3 8 if (not exists $$struct{$k}) { }
7 1 elsif (not ref $$patch{$k} || ref $$struct{$k} or ref $$patch{$k} eq 'ARRAY' and ref $$struct{$k} eq 'ARRAY' or ref $$patch{$k} eq 'Regexp' and ref $$struct{$k} eq 'Regexp') { }
1 0 elsif (ref $$patch{$k} eq 'HASH' and ref $$struct{$k} eq 'HASH') { }
0 0 elsif (ref $$patch{$k} eq 'CODE' and ref $$struct{$k} eq 'CODE' || !defined($$struct{$k})) { }
98 1 2 if ($$algo_id{$algorithm} == 2) { }
1 1 elsif ($$algo_id{$algorithm} == 3) { }
113 4 3 if ($$algo_id{$algorithm} == 2) { }
130 15 6 if (not ref $data) { }
134 3 3 if (ref $data eq 'ARRAY') { }
3 0 elsif (ref $data eq 'HASH') { }
149 6 5 if (not ref $data) { }
1 4 elsif (ref $data eq 'ARRAY') { }
4 0 elsif (ref $data eq 'HASH') { }
154 3 1 if (not ref $element) { }
164 5 3 unless ref $$data{$key}