line |
true |
false |
branch |
27
|
3218 |
34605 |
&Scalar::Util::reftype($_[0]) eq 'ARRAY' ? : |
47
|
1 |
519 |
if (not defined $key) { } |
|
231 |
288 |
elsif ($key =~ /^-?\d+$/) { } |
|
1 |
287 |
elsif ($key ne 'length') { } |
52
|
11 |
220 |
if ($key < 0) |
54
|
1 |
10 |
unless ($key >= 0) |
80
|
1 |
302 |
if (not defined $key) { } |
|
151 |
151 |
elsif ($key =~ /^-?\d+$/) { } |
|
1 |
150 |
elsif ($key ne 'length') { } |
86
|
2 |
149 |
if ($key < 0) |
88
|
1 |
1 |
if ($key + $size < 0) |
101
|
150 |
150 |
if ($idx_is_numeric) |
102
|
149 |
1 |
unless defined $size |
103
|
129 |
21 |
if ($key >= $size) |
119
|
1 |
8 |
if (not defined $key) { } |
|
7 |
1 |
elsif ($key =~ /^-?\d+$/) { } |
|
1 |
0 |
elsif ($key ne 'length') { } |
124
|
2 |
5 |
if ($key < 0) |
126
|
1 |
1 |
unless ($key >= 0) |
152
|
1 |
19 |
if (not defined $key) { } |
|
18 |
1 |
elsif ($key =~ /^-?\d+$/) { } |
|
1 |
0 |
elsif ($key ne 'length') { } |
157
|
3 |
15 |
if ($key < 0) |
159
|
2 |
1 |
unless ($key >= 0) |
172
|
10 |
6 |
if ($rv and $key == $size - 1) |
226
|
1 |
1 |
if ($length) { } |
274
|
1 |
2 |
unless ($length) |
282
|
2 |
0 |
if ($length > 1) |
304
|
6 |
1 |
if ($length) |
332
|
1 |
6 |
unless defined $offset |
333
|
1 |
6 |
if ($offset < 0) |
336
|
5 |
2 |
if (scalar @_) { } |
338
|
1 |
6 |
if ($splice_length < 0) |
353
|
7 |
0 |
if ($new_size != $splice_length) |
354
|
3 |
4 |
if ($new_size > $splice_length) { } |
383
|
5 |
2 |
wantarray ? : |