line |
true |
false |
branch |
47
|
190 |
75 |
&Scalar::Util::blessed($_[0]) ? : |
58
|
10 |
35 |
ref $_[0] eq 'ARRAY' || &Scalar::Util::blessed($_[0]) && $_[0]->can('does') && $_[0]->does('List::Objects::WithUtils::Role::Array') ? : |
65
|
12 |
12 |
$depth > 0 ? : |
|
24 |
55 |
ref $_ eq 'ARRAY' || &Scalar::Util::blessed($_) && $_->can('does') && $_->does('List::Objects::WithUtils::Role::Array') ? : |
85
|
0 |
9 |
unless &Scalar::Util::blessed($type) |
90
|
0 |
1 |
$type->has_coercion ? : |
|
0 |
0 |
$type->assert_valid($type->has_coercion ? $coerced = $type->coerce($_) : $_) ? : |
|
8 |
1 |
$type->check($_) ? : |
134
|
1 |
2 |
unless &Scalar::Util::blessed($self) |
160
|
4 |
3 |
($r = $_[1] + @{$_[0];}) <= $#{$_[0];} && $r >= 0 ? : |
|
7 |
7 |
$_[1] >= 0 ? : |
|
14 |
7 |
$_[1] <= $#{$_[0];} ? : |
170
|
2 |
4 |
(&Scalar::Util::reftype($_[2]) || '') eq 'CODE' ? : |
|
2 |
6 |
defined $_[0][$_[1]] ? : |
190
|
3 |
3 |
wantarray ? : |
199
|
3 |
3 |
wantarray ? : |
226
|
10 |
14 |
if &$cb($_) |
232
|
6 |
7 |
if $_[1] > $#{$_[0];} |
264
|
4 |
4 |
defined $_[1] ? : |
305
|
8 |
2 |
$_[1] ? : |
309
|
12 |
25 |
if (defined $_[1] and my $cb = $_[1]) |
340
|
2 |
6 |
@_ == 2 ? : |
346
|
15 |
12 |
defined $_[1] ? : |
364
|
4 |
15 |
if $ret |
377
|
5 |
15 |
if &$cb() |
386
|
3 |
11 |
if &$cb() |
394
|
8 |
10 |
if $max_idx < $#$_ |
406
|
2 |
4 |
if (defined $_[2]) |
418
|
4 |
12 |
if $pos == @list |
429
|
8 |
3 |
defined $_ ? : |
446
|
12 |
8 |
&$code($_) ? : |
456
|
5 |
1 |
defined $sections ? : |
|
2 |
4 |
if (defined $sections ? $sections : 0) > $total |
457
|
4 |
2 |
if ($sections and $total) |
468
|
4 |
1 |
if ($per) |
477
|
2 |
6 |
unless defined $size |
478
|
1 |
7 |
if $size < 1 |
483
|
0 |
7 |
if defined $type and not &Scalar::Util::blessed($self) |
492
|
0 |
18 |
if defined $type |
494
|
2 |
16 |
$bless ? : |
536
|
3 |
1 |
@$self ? : |
|
10 |
2 |
@$self ? : |
|
4 |
12 |
$params{'right'} ? : |
|
2 |
16 |
$params{'left'} && $params{'right'} ? : |
541
|
6 |
1 |
&Scalar::Util::blessed($_[0]) ? : |
577
|
3 |
1 |
if $_[1] >= @{$_[0];} |
589
|
3 |
0 |
defined $_[1] ? : |
609
|
6 |
30 |
if (not @last) { } |
|
4 |
26 |
elsif (not defined $_) { } |
|
4 |
22 |
elsif (not defined $last[0]) { } |
614
|
2 |
2 |
unless defined $last[0] |
621
|
5 |
17 |
if $_ eq $last[0] |
662
|
13 |
4 |
defined $_[1] ? : |