Branch Coverage

lib/Tie/ListKeyedHash.pm
Criterion Covered Total %
branch 142 142 100.0


line true false branch
17 1 12 if (ref $proto) { }
9 3 elsif ($proto) { }
25 2 11 if (1 == @_) { }
33 1 11 if (0 < @_)
53 1 18 unless (ref $key)
65 1 18 unless (ref $key)
77 1 18 unless (ref $key)
97 2 74 unless (ref $key)
111 1 1 unless defined $key
122 1 18 unless defined $key
142 1 152 if ($@)
150 88 64 if ($#data == 0) { }
12 52 elsif ($#data == 1) { }
8 44 elsif ($#data > 12) { }
4 40 elsif ($#data == 2) { }
4 36 elsif ($#data == 3) { }
4 32 elsif ($#data == 4) { }
4 28 elsif ($#data == 5) { }
4 24 elsif ($#data == 6) { }
4 20 elsif ($#data == 7) { }
4 16 elsif ($#data == 8) { }
4 12 elsif ($#data == 9) { }
4 8 elsif ($#data == 10) { }
4 4 elsif ($#data == 11) { }
156 1 7 unless (defined $anon_sub)
209 6 33 if ($#data == 0) { }
6 27 elsif ($#data == 1) { }
4 23 elsif ($#data > 12) { }
2 21 elsif ($#data == 2) { }
2 19 elsif ($#data == 3) { }
2 17 elsif ($#data == 4) { }
2 15 elsif ($#data == 5) { }
2 13 elsif ($#data == 6) { }
2 11 elsif ($#data == 7) { }
2 9 elsif ($#data == 8) { }
2 7 elsif ($#data == 9) { }
2 5 elsif ($#data == 10) { }
2 3 elsif ($#data == 11) { }
2 1 elsif ($#data == 12) { }
215 1 3 unless (defined $anon_sub)
267 2 21 if (not 2 == @_) { }
3 18 elsif ($#data == 0) { }
3 15 elsif ($#data == 1) { }
2 13 elsif ($#data > 12) { }
1 12 elsif ($#data == 2) { }
1 11 elsif ($#data == 3) { }
1 10 elsif ($#data == 4) { }
1 9 elsif ($#data == 5) { }
1 8 elsif ($#data == 6) { }
1 7 elsif ($#data == 7) { }
1 6 elsif ($#data == 8) { }
1 5 elsif ($#data == 9) { }
1 4 elsif ($#data == 10) { }
1 3 elsif ($#data == 11) { }
1 2 elsif ($#data == 12) { }
279 1 1 unless (defined $anon_sub)
332 6 34 if ($#data == 0) { }
6 28 elsif ($#data == 1) { }
4 24 elsif ($#data > 12) { }
2 22 elsif ($#data == 2) { }
2 20 elsif ($#data == 3) { }
2 18 elsif ($#data == 4) { }
2 16 elsif ($#data == 5) { }
2 14 elsif ($#data == 6) { }
2 12 elsif ($#data == 7) { }
2 10 elsif ($#data == 8) { }
2 8 elsif ($#data == 9) { }
2 6 elsif ($#data == 10) { }
2 4 elsif ($#data == 11) { }
2 2 elsif ($#data == 12) { }
338 1 3 unless (defined $anon_sub)