| line |
true |
false |
branch |
|
53
|
1 |
4 |
unless defined $array |
|
55
|
3 |
1 |
unless defined $context |
|
70
|
9 |
1 |
unless defined $context |
|
84
|
6 |
1 |
if (ref $list eq 'ARRAY') { } |
|
|
1 |
0 |
elsif (ref $list eq 'HASH') { } |
|
85
|
5 |
1 |
&List::Util::first(sub {
$_ eq $value;
}
, @$list) ? : |
|
88
|
1 |
0 |
&List::Util::first(sub {
$_ eq $value;
}
, CORE::values %$list) ? : |
|
101
|
1 |
1 |
unless defined $array or defined $memo |
|
103
|
1 |
20 |
unless defined $array |
|
108
|
3 |
385 |
if (not $initial and defined $_) { } |
|
112
|
186 |
199 |
if defined $_ |
|
115
|
0 |
20 |
unless $initial |
|
126
|
1 |
1 |
unless defined $array or defined $memo |
|
128
|
1 |
3 |
unless defined $array |
|
169
|
1 |
7 |
unless &$iterator($_) |
|
181
|
1 |
5 |
unless @$list |
|
184
|
5 |
9 |
$iterator ? : |
|
|
3 |
11 |
if $iterator ? &$iterator($_) : $_ |
|
197
|
4 |
0 |
ref $method eq 'CODE' ? : |
|
239
|
1 |
1 |
unless defined $iterator |
|
243
|
0 |
3 |
$$e{'computed'} > $$max{'computed'} ? : |
|
251
|
1 |
1 |
unless defined $iterator |
|
255
|
2 |
1 |
$$e{'computed'} < $$min{'computed'} ? : |
|
272
|
1 |
2 |
defined $comparator ? : |
|
335
|
4 |
2 |
if (exists $$result{$group}) { } |
|
350
|
6 |
4 |
if (exists $$result{$group}) { } |
|
373
|
1 |
0 |
if ($value > $$list[$mid]) { } |
|
381
|
0 |
1 |
if ($$list[$mid] == $value) |
|
394
|
1 |
3 |
if ref $list eq 'HASH' |
|
396
|
1 |
2 |
unless ref $list eq 'ARRAY' |
|
405
|
0 |
1 |
if ref $list eq 'ARRAY' |
|
407
|
1 |
0 |
if ref $list eq 'HASH' |
|
419
|
5 |
8 |
unless defined $n |
|
428
|
2 |
3 |
unless defined $n |
|
439
|
2 |
2 |
unless defined $index |
|
464
|
6 |
6 |
if $_ |
|
478
|
15 |
157 |
if (ref $_ eq 'ARRAY') { } |
|
502
|
9 |
9 |
unless defined &List::Util::first(sub {
$el eq $_;
}
, @values) |
|
514
|
4 |
1 |
unless $is_sorted |
|
519
|
2 |
3 |
unless $_ eq $$new_array[-1] |
|
536
|
3 |
9 |
if $$seen{$_} == @arrays |
|
559
|
2 |
1 |
unless &List::Util::first(sub {
$el eq $_;
}
, @$other) |
|
571
|
1 |
1 |
if ($arrays_length == 2) { } |
|
|
1 |
0 |
elsif ($arrays_length == 1) { } |
|
622
|
5 |
7 |
unless exists $omit_these{$key} |
|
651
|
2 |
5 |
unless defined $array |
|
662
|
0 |
3 |
unless defined $array |
|
669
|
2 |
2 |
@_ == 2 ? : |
|
|
4 |
4 |
@_ == 3 ? : |
|
672
|
1 |
7 |
unless $stop |
|
674
|
1 |
6 |
unless defined $start |
|
676
|
3 |
4 |
unless defined $step |
|
680
|
2 |
2 |
$start < $stop ? : |
|
701
|
1 |
1 |
if defined $$self{'args'} and @{$$self{'args'};} |
|
713
|
100 |
0 |
unless defined $prefix |
|
723
|
1 |
1 |
ref $value eq 'CODE' ? : |
|
741
|
7 |
12 |
++$invocation_count >= $n ? : |
|
750
|
5 |
1 |
if (my $value = $args{$_}) |
|
792
|
1 |
1 |
if $ONCE |
|
818
|
0 |
2 |
wantarray ? : |
|
835
|
4 |
1 |
unless ref $object and ref $object eq 'HASH' |
|
844
|
0 |
1 |
unless ref $object and ref $object eq 'HASH' |
|
853
|
0 |
1 |
unless ref $object and ref $object eq 'HASH' |
|
857
|
2 |
2 |
if ref $$object{$_} and ref $$object{$_} eq 'CODE' |
|
869
|
1 |
9 |
unless defined $$source{$key} |
|
883
|
4 |
2 |
if exists $$object{$key} |
|
917
|
2 |
7 |
unless defined $object |
|
919
|
2 |
5 |
if (not ref $object) { } |
|
|
2 |
3 |
elsif (ref $object eq 'HASH') { } |
|
|
2 |
1 |
elsif (ref $object eq 'ARRAY') { } |
|
|
1 |
0 |
elsif (ref $object eq 'Regexp') { } |
|
920
|
1 |
1 |
if $object eq '' |
|
923
|
1 |
1 |
unless CORE::keys %$object |
|
926
|
1 |
1 |
if @$object == 0 |
|
929
|
1 |
0 |
if $object eq qr// |
|
941
|
3 |
0 |
if defined $object and ref $object and ref $object eq 'ARRAY' |
|
952
|
0 |
2 |
unless defined $object and not ref $object |
|
954
|
1 |
1 |
if $self->is_number($object) |
|
965
|
1 |
4 |
unless defined $object and not ref $object |
|
969
|
2 |
0 |
!($flags & 16384) ? : |
|
|
2 |
2 |
if my $is_number = $flags & 12288 |
|
972
|
2 |
2 |
if $is_number |
|
983
|
1 |
2 |
if defined $object and ref $object and ref $object eq 'CODE' |
|
994
|
1 |
1 |
if defined $object and ref $object and ref $object eq 'Regexp' |
|
1005
|
2 |
3 |
unless defined $object |
|
1016
|
2 |
0 |
if &Scalar::Util::blessed($object) and $object->isa('UnderscoreJS::_True') || $object->isa('UnderscoreJS::_False') |
|
1035
|
1 |
6 |
wantarray ? : |
|
1040
|
30 |
320 |
if defined $$self{'args'} and @{$$self{'args'};} |
|
1048
|
11 |
36 |
wantarray ? : |
|
|
15 |
47 |
$$self{'chain'} ? : |
|
1057
|
0 |
0 |
$_[1] eq 'true' ? : |
|
1058
|
0 |
0 |
$_[1] == 1 ? : |
|
1066
|
2 |
0 |
$_[1] eq 'false' ? : |
|
1067
|
0 |
0 |
$_[1] == 0 ? : |