Branch Coverage

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


line true false branch
18 1 12 if (ref $proto) { }
9 3 elsif ($proto) { }
26 2 11 if (1 == @_) { }
34 1 11 if (0 < @_)
54 1 18 unless (ref $key)
66 1 18 unless (ref $key)
78 1 18 unless (ref $key)
98 2 74 unless (ref $key)
112 1 1 unless defined $key
123 1 18 unless defined $key
143 1 152 if ($@)
151 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) { }
157 1 7 unless (defined $anon_sub)
210 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) { }
216 1 3 unless (defined $anon_sub)
268 1 2 do { $#data == 12 } ? :
1 3 do { $#data == 11 } ? :
1 4 do { $#data == 10 } ? :
1 5 do { $#data == 9 } ? :
1 6 do { $#data == 8 } ? :
1 7 do { $#data == 7 } ? :
1 8 do { $#data == 6 } ? :
1 9 do { $#data == 5 } ? :
1 10 do { $#data == 4 } ? :
1 11 do { $#data == 3 } ? :
1 12 do { $#data == 2 } ? :
2 13 do { $#data > 12 } ? :
3 15 do { $#data == 1 } ? :
3 18 do { $#data == 0 } ? :
21 2 2 == @_ ? :
280 1 1 unless (defined $anon_sub)
333 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) { }
339 1 3 unless (defined $anon_sub)