Branch Coverage

blib/lib/Array/OrdHash.pm
Criterion Covered Total %
branch 12 62 19.3


line true false branch
21 4 2 if scalar @_
27 0 0 unless defined $$ar[3]
28 0 0 if ($$ar[3] > $#{$$ar[2];})
46 0 0 if ($src eq 'keys') { }
0 0 elsif ($src eq 'values') { }
55 0 0 if (defined $args{'proc'} and ref $args{'proc'} eq 'CODE') { }
59 0 0 $direction eq 'desc' ? :
73 0 0 if (exists $$ar[4][2]{$_} and not exists $ks{$_})
87 0 0 unless @_
91 0 0 if exists $$ar[4][2]{$_}
93 0 0 if ($cnt)
96 0 0 if (exists $ks{$_})
99 0 0 unless $cnt
118 0 0 if (@_) { }
124 0 0 if (@_) { }
143 0 0 if $_[1] > $#{$_[0][2];}
156 0 2 if $_[1] > $#{$_[0][2];}
166 0 1 if ($offset < 0) { }
0 1 elsif ($offset > $lastind + 1) { }
167 0 0 if -$offset > $lastind + 1
176 1 0 if ($len)
187 0 1 if (exists $$self[4][2]{$k}) { }
196 1 0 if (@ki)
208 0 14 if (exists $$self[4][2]{$k}) { }
225 0 7 if (exists $$self[4][2]{$k}) { }
234 2 0 if (scalar @ki)
264 0 0 if (exists $_[0][2]{$_[1]}) { }
276 1 0 exists $_[0][2]{$_[1]} ? :
288 0 0 if ($_[0][3] >= $#{$_[0][0];})
295 0 0 unless exists $_[0][2]{$_[1]}
317 0 0 if $_ eq $_[1]