| line |
true |
false |
branch |
|
185
|
0 |
19 |
if (defined $item and $item eq 'no_diag') { } |
|
|
9 |
10 |
elsif (defined $item and $item eq 'import') { } |
|
189
|
0 |
9 |
if ($import) { } |
|
206
|
8 |
4 |
if ($class eq __PACKAGE__ and !$import || grep(($_ eq '$TODO'), @$import)) |
|
210
|
5 |
3 |
if ($import) { } |
|
547
|
0 |
0 |
unless ($class) |
|
553
|
0 |
0 |
unless (@methods) |
|
561
|
0 |
0 |
unless $tb->_try(sub {
$proto->can($method);
}
) |
|
564
|
0 |
0 |
@methods == 1 ? : |
|
613
|
0 |
0 |
if (not defined $thing) { } |
|
|
0 |
0 |
elsif (ref $thing) { } |
|
621
|
0 |
0 |
if (builtin::blessed($thing)) |
|
632
|
0 |
0 |
if ($error) |
|
633
|
0 |
0 |
unless $error =~ /^Can't (locate|call) method "isa"/ |
|
641
|
0 |
0 |
if ($whatami eq "reference") |
|
646
|
0 |
0 |
if (defined $thing_name) { } |
|
|
0 |
0 |
elsif ($whatami eq 'object') { } |
|
|
0 |
0 |
elsif ($whatami eq 'reference') { } |
|
|
0 |
0 |
elsif ($whatami eq 'undef') { } |
|
|
0 |
0 |
elsif ($whatami eq 'class') { } |
|
648
|
0 |
0 |
defined $thing ? : |
|
677
|
0 |
0 |
if ($rslt) { } |
|
711
|
0 |
0 |
unless @_ |
|
719
|
0 |
0 |
if ($success) { } |
|
724
|
0 |
0 |
unless defined $class |
|
889
|
0 |
0 |
unless _is_module_name($module) |
|
900
|
0 |
0 |
unless ($ok) |
|
920
|
0 |
0 |
$module =~ /^[a-zA-Z]\w*$/ ? : |
|
977
|
0 |
0 |
unless @imports |
|
987
|
0 |
0 |
if (@imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/) { } |
|
1011
|
0 |
0 |
unless ($ok) |
|
1038
|
0 |
0 |
if defined $sigdie |
|
1104
|
0 |
21 |
unless (@_ == 2 or @_ == 3) |
|
1122
|
0 |
21 |
if (not ref $got || ref $expected) { } |
|
|
0 |
21 |
elsif (not ref $got xor not ref $expected) { } |
|
1131
|
21 |
0 |
if (_deep_check($got, $expected)) { } |
|
1151
|
0 |
0 |
if ($type eq 'HASH') { } |
|
|
0 |
0 |
elsif ($type eq 'ARRAY') { } |
|
|
0 |
0 |
elsif ($type eq 'REF') { } |
|
1152
|
0 |
0 |
unless $did_arrow++ |
|
1156
|
0 |
0 |
unless $did_arrow++ |
|
1172
|
0 |
0 |
ref $val ? : |
|
|
0 |
0 |
_dne($val) ? : |
|
|
0 |
0 |
!defined($val) ? : |
|
1189
|
0 |
176 |
unless ref $thing |
|
1192
|
176 |
264 |
if UNIVERSAL::isa($thing, $type) |
|
1353
|
0 |
0 |
unless (defined $how_many) |
|
1355
|
0 |
0 |
if $plan and $plan =~ /^\d+$/ |
|
1360
|
0 |
0 |
if (defined $how_many and $how_many =~ /\D/) |
|
1445
|
0 |
0 |
unless (defined $how_many) |
|
1447
|
0 |
0 |
unless $tb->has_plan eq "no_plan" |
|
1544
|
0 |
22 |
if (grep((_type($_) ne "ARRAY"), $a1, $a2)) |
|
1549
|
0 |
22 |
if $a1 eq $a2 |
|
1552
|
0 |
22 |
$a1->$#* > $a2->$#* ? : |
|
1554
|
0 |
31 |
$_ > $a1->$#* ? : |
|
1555
|
0 |
31 |
$_ > $a2->$#* ? : |
|
1557
|
8 |
23 |
if _equal_nonrefs($e1, $e2) |
|
1561
|
23 |
0 |
if $ok |
|
1563
|
0 |
23 |
unless $ok |
|
1572
|
23 |
119 |
if ref $e1 or ref $e2 |
|
1574
|
119 |
0 |
if (defined $e1) { } |
|
1575
|
119 |
0 |
if defined $e2 and $e1 eq $e2 |
|
1578
|
0 |
0 |
unless defined $e2 |
|
1602
|
0 |
44 |
if (defined $e1 xor defined $e2) { } |
|
|
0 |
44 |
elsif (not defined $e1 || defined $e2) { } |
|
|
0 |
44 |
elsif (_dne($e1) xor _dne($e2)) { } |
|
|
0 |
44 |
elsif ($same_ref and $e1 eq $e2) { } |
|
|
0 |
44 |
elsif ($not_ref) { } |
|
1620
|
0 |
44 |
if ($Refs_Seen{$e1}) { } |
|
1628
|
0 |
44 |
unless _type($e2) eq $type |
|
1630
|
0 |
44 |
if ($type eq 'DIFFERENT') { } |
|
|
22 |
22 |
elsif ($type eq 'ARRAY') { } |
|
|
22 |
0 |
elsif ($type eq 'HASH') { } |
|
|
0 |
0 |
elsif ($type eq 'REF') { } |
|
|
0 |
0 |
elsif ($type eq 'SCALAR') { } |
|
|
0 |
0 |
elsif ($type) { } |
|
1643
|
0 |
0 |
if $ok |
|
1648
|
0 |
0 |
if $ok |
|
1665
|
0 |
0 |
if ($check) |
|
1690
|
0 |
22 |
if (grep((_type($_) ne "HASH"), $a1, $a2)) |
|
1695
|
0 |
22 |
if $a1 eq $a2 |
|
1698
|
0 |
22 |
keys %$a1 > keys %$a2 ? : |
|
1700
|
111 |
0 |
exists $a1->{$k} ? : |
|
1701
|
111 |
0 |
exists $a2->{$k} ? : |
|
1703
|
111 |
0 |
if _equal_nonrefs($e1, $e2) |
|
1707
|
0 |
0 |
if $ok |
|
1709
|
0 |
0 |
unless $ok |
|
1743
|
0 |
0 |
unless @$a1 == @$a2 |