Branch Coverage

inc/Test/More.pm
Criterion Covered Total %
branch 15 154 9.7


line true false branch
182 0 34 if (defined $item and $item eq 'no_diag') { }
512 0 2 unless ($class)
518 0 2 unless (@methods)
526 0 2 unless $tb->_try(sub { $proto->can($method); } )
529 2 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) { }
809 6 0 unless @imports
815 0 6 if (@imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/) { }
835 0 6 unless ($ok)
862 0 6 if defined $sigdie
884 0 0 unless _is_module_name($module)
895 0 0 unless ($ok)
915 0 0 $module =~ /^[a-zA-Z]\w*$/ ? :
964 0 0 unless (@_ == 2 or @_ == 3)
982 0 0 if (not ref $got || ref $expected) { }
0 0 elsif (not ref $got xor not ref $expected) { }
991 0 0 if (_deep_check($got, $expected)) { }
1011 0 0 if ($type eq 'HASH') { }
0 0 elsif ($type eq 'ARRAY') { }
0 0 elsif ($type eq 'REF') { }
1012 0 0 unless $did_arrow++
1016 0 0 unless $did_arrow++
1032 0 0 ref $val ? :
0 0 _dne($val) ? :
0 0 !defined($val) ? :
1049 0 0 unless ref $thing
1052 0 0 if UNIVERSAL::isa($thing, $type)
1210 0 0 unless (defined $how_many)
1212 0 0 unless $tb->has_plan eq 'no_plan'
1217 0 0 if (defined $how_many and $how_many =~ /\D/)
1293 0 0 unless (defined $how_many)
1295 0 0 unless $tb->has_plan eq 'no_plan'
1392 0 0 if (grep((_type($_) ne 'ARRAY'), $a1, $a2))
1397 0 0 if $a1 eq $a2
1400 0 0 $#$a1 > $#$a2 ? :
1402 0 0 $_ > $#$a1 ? :
1403 0 0 $_ > $#$a2 ? :
1407 0 0 if $ok
1409 0 0 unless $ok
1436 0 0 if (defined $e1 xor defined $e2) { }
0 0 elsif (not defined $e1 || defined $e2) { }
0 0 elsif (_dne($e1) xor _dne($e2)) { }
0 0 elsif ($same_ref and $e1 eq $e2) { }
0 0 elsif ($not_ref) { }
1454 0 0 if ($Refs_Seen{$e1}) { }
1462 0 0 unless _type($e2) eq $type
1464 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) { }
1477 0 0 if $ok
1482 0 0 if $ok
1499 0 0 if ($check)
1524 0 0 if (grep((_type($_) ne 'HASH'), $a1, $a2))
1529 0 0 if $a1 eq $a2
1532 0 0 keys %$a1 > keys %$a2 ? :
1534 0 0 exists $$a1{$k} ? :
1535 0 0 exists $$a2{$k} ? :
1539 0 0 if $ok
1541 0 0 unless $ok
1575 0 0 unless @$a1 == @$a2