line |
true |
false |
branch |
182
|
0 |
22 |
if (defined $item and $item eq 'no_diag') { } |
512
|
0 |
3 |
unless ($class) |
518
|
0 |
3 |
unless (@methods) |
526
|
0 |
3 |
unless $tb->_try(sub {
$proto->can($method);
}
) |
529
|
3 |
0 |
@methods == 1 ? : |
579
|
0 |
1 |
if (not defined $object) { } |
580
|
0 |
0 |
unless defined $obj_name |
584
|
1 |
0 |
ref $object ? : |
587
|
0 |
1 |
if ($error) { } |
588
|
0 |
0 |
if ($error =~ /^Can't call method "isa" on unblessed reference/) { } |
|
0 |
0 |
elsif ($error =~ /Can't call method "isa" without a package/) { } |
590
|
0 |
0 |
unless defined $obj_name |
591
|
0 |
0 |
unless (UNIVERSAL::isa($object, $class)) |
598
|
0 |
0 |
unless defined $obj_name |
610
|
1 |
0 |
unless defined $obj_name |
611
|
0 |
1 |
unless ($rslt) |
620
|
0 |
1 |
if ($diag) { } |
654
|
0 |
0 |
unless @_ |
659
|
0 |
0 |
unless defined $object_name |
663
|
0 |
0 |
if ($success) { } |
826
|
1 |
0 |
unless @imports |
832
|
0 |
1 |
if (@imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/) { } |
852
|
0 |
1 |
unless ($ok) |
879
|
0 |
1 |
if defined $sigdie |
901
|
0 |
0 |
unless _is_module_name($module) |
912
|
0 |
0 |
unless ($ok) |
932
|
0 |
0 |
$module =~ /^[a-zA-Z]\w*$/ ? : |
981
|
0 |
3 |
unless (@_ == 2 or @_ == 3) |
999
|
0 |
3 |
if (not ref $got || ref $expected) { } |
|
0 |
3 |
elsif (not ref $got xor not ref $expected) { } |
1008
|
3 |
0 |
if (_deep_check($got, $expected)) { } |
1028
|
0 |
0 |
if ($type eq 'HASH') { } |
|
0 |
0 |
elsif ($type eq 'ARRAY') { } |
|
0 |
0 |
elsif ($type eq 'REF') { } |
1029
|
0 |
0 |
unless $did_arrow++ |
1033
|
0 |
0 |
unless $did_arrow++ |
1049
|
0 |
0 |
ref $val ? : |
|
0 |
0 |
_dne($val) ? : |
|
0 |
0 |
!defined($val) ? : |
1066
|
0 |
12 |
unless ref $thing |
1069
|
12 |
16 |
if UNIVERSAL::isa($thing, $type) |
1227
|
0 |
0 |
unless (defined $how_many) |
1229
|
0 |
0 |
unless $tb->has_plan eq 'no_plan' |
1234
|
0 |
0 |
if (defined $how_many and $how_many =~ /\D/) |
1310
|
0 |
0 |
unless (defined $how_many) |
1312
|
0 |
0 |
unless $tb->has_plan eq 'no_plan' |
1409
|
0 |
2 |
if (grep((_type($_) ne 'ARRAY'), $a1, $a2)) |
1414
|
0 |
2 |
if $a1 eq $a2 |
1417
|
0 |
2 |
$#$a1 > $#$a2 ? : |
1419
|
0 |
12 |
$_ > $#$a1 ? : |
1420
|
0 |
12 |
$_ > $#$a2 ? : |
1422
|
12 |
0 |
if _equal_nonrefs($e1, $e2) |
1426
|
0 |
0 |
if $ok |
1428
|
0 |
0 |
unless $ok |
1437
|
0 |
15 |
if ref $e1 or ref $e2 |
1439
|
15 |
0 |
if (defined $e1) { } |
1440
|
15 |
0 |
if defined $e2 and $e1 eq $e2 |
1443
|
0 |
0 |
unless defined $e2 |
1467
|
0 |
3 |
if (defined $e1 xor defined $e2) { } |
|
0 |
3 |
elsif (not defined $e1 || defined $e2) { } |
|
0 |
3 |
elsif (_dne($e1) xor _dne($e2)) { } |
|
0 |
3 |
elsif ($same_ref and $e1 eq $e2) { } |
|
0 |
3 |
elsif ($not_ref) { } |
1485
|
0 |
3 |
if ($Refs_Seen{$e1}) { } |
1493
|
0 |
3 |
unless _type($e2) eq $type |
1495
|
0 |
3 |
if ($type eq 'DIFFERENT') { } |
|
2 |
1 |
elsif ($type eq 'ARRAY') { } |
|
1 |
0 |
elsif ($type eq 'HASH') { } |
|
0 |
0 |
elsif ($type eq 'REF') { } |
|
0 |
0 |
elsif ($type eq 'SCALAR') { } |
|
0 |
0 |
elsif ($type) { } |
1508
|
0 |
0 |
if $ok |
1513
|
0 |
0 |
if $ok |
1530
|
0 |
0 |
if ($check) |
1555
|
0 |
1 |
if (grep((_type($_) ne 'HASH'), $a1, $a2)) |
1560
|
0 |
1 |
if $a1 eq $a2 |
1563
|
0 |
1 |
keys %$a1 > keys %$a2 ? : |
1565
|
3 |
0 |
exists $$a1{$k} ? : |
1566
|
3 |
0 |
exists $$a2{$k} ? : |
1568
|
3 |
0 |
if _equal_nonrefs($e1, $e2) |
1572
|
0 |
0 |
if $ok |
1574
|
0 |
0 |
unless $ok |
1608
|
0 |
0 |
unless @$a1 == @$a2 |