line |
true |
false |
branch |
175
|
0 |
2 |
if (defined $item and $item eq 'no_diag') { } |
466
|
0 |
0 |
unless ($class) |
472
|
0 |
0 |
unless (@methods) |
480
|
0 |
0 |
unless $tb->_try(sub {
$proto->can($method);
}
) |
484
|
0 |
0 |
@methods == 1 ? : |
528
|
0 |
0 |
unless defined $obj_name |
530
|
0 |
0 |
if (not defined $object) { } |
|
0 |
0 |
elsif (not ref $object) { } |
539
|
0 |
0 |
if ($error) { } |
|
0 |
0 |
elsif (not $rslt) { } |
540
|
0 |
0 |
if ($error =~ /^Can't call method "isa" on unblessed reference/) { } |
542
|
0 |
0 |
unless (UNIVERSAL::isa($object, $class)) |
563
|
0 |
0 |
if ($diag) { } |
655
|
1 |
0 |
unless @imports |
661
|
0 |
1 |
if (@imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/) { } |
682
|
1 |
0 |
unless ($ok) |
727
|
0 |
0 |
unless _is_module_name($module) |
738
|
0 |
0 |
unless ($ok) |
807
|
0 |
0 |
unless (@_ == 2 or @_ == 3) |
825
|
0 |
0 |
if (not ref $got || ref $expected) { } |
|
0 |
0 |
elsif (not ref $got xor not ref $expected) { } |
834
|
0 |
0 |
if (_deep_check($got, $expected)) { } |
854
|
0 |
0 |
if ($type eq 'HASH') { } |
|
0 |
0 |
elsif ($type eq 'ARRAY') { } |
|
0 |
0 |
elsif ($type eq 'REF') { } |
855
|
0 |
0 |
unless $did_arrow++ |
859
|
0 |
0 |
unless $did_arrow++ |
875
|
0 |
0 |
ref $val ? : |
|
0 |
0 |
_dne($val) ? : |
|
0 |
0 |
!defined($val) ? : |
892
|
0 |
0 |
unless ref $thing |
895
|
0 |
0 |
if UNIVERSAL::isa($thing, $type) |
1016
|
0 |
0 |
unless (defined $how_many) |
1018
|
0 |
0 |
unless $tb->has_plan eq 'no_plan' |
1023
|
0 |
0 |
if (defined $how_many and $how_many =~ /\D/) |
1102
|
0 |
0 |
unless (defined $how_many) |
1104
|
0 |
0 |
unless $tb->has_plan eq 'no_plan' |
1199
|
0 |
0 |
if (grep((!_type($_) eq 'ARRAY'), $a1, $a2)) |
1204
|
0 |
0 |
if $a1 eq $a2 |
1207
|
0 |
0 |
$#$a1 > $#$a2 ? : |
1209
|
0 |
0 |
$_ > $#$a1 ? : |
1210
|
0 |
0 |
$_ > $#$a2 ? : |
1214
|
0 |
0 |
if $ok |
1216
|
0 |
0 |
unless $ok |
1243
|
0 |
0 |
if (defined $e1 xor defined $e2) { } |
|
0 |
0 |
elsif (_dne($e1) xor _dne($e2)) { } |
|
0 |
0 |
elsif ($same_ref and $e1 eq $e2) { } |
|
0 |
0 |
elsif ($not_ref) { } |
1257
|
0 |
0 |
if ($Test::More::Refs_Seen{$e1}) { } |
1265
|
0 |
0 |
unless _type($e2) eq $type |
1267
|
0 |
0 |
if ($type eq 'DIFFERENT') { } |
|
0 |
0 |
elsif ($type eq 'ARRAY') { } |
|
0 |
0 |
elsif ($type eq 'HASH') { } |
|
0 |
0 |
elsif ($type eq 'REF') { } |
|
0 |
0 |
elsif ($type eq 'SCALAR') { } |
|
0 |
0 |
elsif ($type) { } |
1280
|
0 |
0 |
if $ok |
1285
|
0 |
0 |
if $ok |
1303
|
0 |
0 |
if ($check) |
1329
|
0 |
0 |
if (grep((!_type($_) eq 'HASH'), $a1, $a2)) |
1334
|
0 |
0 |
if $a1 eq $a2 |
1337
|
0 |
0 |
keys %$a1 > keys %$a2 ? : |
1339
|
0 |
0 |
exists $$a1{$k} ? : |
1340
|
0 |
0 |
exists $$a2{$k} ? : |
1344
|
0 |
0 |
if $ok |
1346
|
0 |
0 |
unless $ok |
1380
|
0 |
0 |
unless @$a1 == @$a2 |