Branch Coverage

blib/lib/Hash/Filler.pm
Criterion Covered Total %
branch 27 62 43.5


line true false branch
45 0 0 unless return $$b{'pref'} <=> $$a{'pref'} or @{$$a{'prereq'};} <=> @{$$b{'prereq'};}
54 0 0 defined $$rule{'key'} ? :
0 0 $$rule{'use'} ? :
65 0 0 if (defined $key)
75 0 0 unless $pre
87 0 0 unless $dumped
95 0 0 unless $dumped
118 0 0 unless $id
122 0 0 if ($$rule{'id'} == $id)
129 0 0 if ($$rule{'id'} == $id)
139 13 2 if (defined $_[1]) { }
140 1 12 $_[4] ? :
151 1 1 $_[4] ? :
169 0 47 if ($$self{'method'} == 1) { }
47 0 elsif ($$self{'method'} == 2) { }
0 0 elsif (ref $$self{'method'} eq 'CODE') { }
170 0 0 if defined $$href{$key}
173 22 25 if exists $$href{$key}
176 0 0 if $$self{'method'}($href, $key)
179 0 0 if $$href{$key}
190 0 27 unless ref $href eq 'HASH'
200 6 21 if $self->_exists($href, $key)
205 0 21 unless $$self{'rules'}{$key} or @{$$self{'wild'};}
213 16 5 if ($$self{'rules'}{$key})
223 3 20 if $$self{'loop'} and $$rule{'used'}
241 1 19 if ($pr eq $key)
242 0 1 if (defined $$rule{'key'}) { }
249 1 0 unless $self->_exists($href, $pr)
276 3 16 unless $self->_exists($href, $pr)
279 0 16 if $Hash::Filler::DEBUG
293 16 7 if $ret