line |
true |
false |
branch |
165
|
3 |
19 |
unless $aref |
167
|
7 |
12 |
unless omap_is_valid($aref) |
173
|
2 |
17 |
unless ($aref and ref $aref and reftype $aref eq 'ARRAY') |
179
|
3 |
37 |
unless (ref $href eq 'HASH') |
184
|
1 |
36 |
if (@keys > 1) |
188
|
1 |
35 |
if ($seen{$keys[0]}++) |
253
|
12 |
36 |
unless defined $spec |
255
|
4 |
32 |
if (ref $spec eq 'CODE') { } |
266
|
6 |
24 |
looks_like_number($_[0]) && looks_like_number($_[1]) ? : |
269
|
12 |
33 |
looks_like_number($_[0]) && looks_like_number($_[1]) ? : |
272
|
0 |
32 |
unless defined $order |
315
|
0 |
131 |
unless defined $key |
330
|
0 |
131 |
if (defined $pos and defined $found) { } |
|
6 |
125 |
elsif (defined $pos) { } |
|
7 |
118 |
elsif (defined $found) { } |
331
|
0 |
0 |
if $pos > $#$self + 1 |
332
|
0 |
0 |
if $found != $pos |
337
|
2 |
4 |
if $pos > $#$self + 1 |
384
|
1 |
50 |
unless @$self |
386
|
26 |
24 |
if (@keys == 1) { } |
|
16 |
8 |
elsif (@keys) { } |
390
|
26 |
36 |
if ($key eq $wantkey) |
403
|
48 |
76 |
if ($key eq $_) |
452
|
0 |
33 |
unless defined $key |
455
|
0 |
33 |
if defined $found |
458
|
9 |
24 |
if (defined $pos) { } |
459
|
2 |
7 |
if $pos > $#$self + 1 |
491
|
10 |
132 |
unless ($order) |
494
|
105 |
27 |
if (@$self) |
496
|
33 |
72 |
unless (&$order($key, $key2)) |
505
|
72 |
21 |
if (&$order($key, $key2)) |
535
|
0 |
180 |
unless $wantkey |
536
|
28 |
152 |
unless @$self |
539
|
21 |
377 |
if ($key eq $wantkey) |
571
|
0 |
10 |
unless @$self |
573
|
8 |
2 |
if (@keys) { } |
577
|
14 |
22 |
if ($key eq $_) |
590
|
8 |
2 |
if wantarray |
620
|
1 |
15 |
unless @$self |
622
|
6 |
9 |
if (@keys) { } |
626
|
14 |
22 |
if ($key eq $_) |
672
|
0 |
14 |
unless @$self |
674
|
6 |
8 |
if (@keys) { } |
678
|
12 |
22 |
if ($key eq $_) |
691
|
8 |
6 |
wantarray ? : |
707
|
2 |
6 |
unless @$self |
728
|
0 |
22 |
unless @$self |
731
|
22 |
33 |
if ($key eq $lastkey) |
732
|
5 |
17 |
unless defined $$self[$i + 1] |
755
|
1 |
6 |
unless @$self |
776
|
0 |
5 |
unless defined $key |
777
|
1 |
4 |
unless @$self |
780
|
0 |
4 |
unless defined $found |