Branch Coverage

inc/Test/More.pm
Criterion Covered Total %
branch 4 130 3.0


line true false branch
176 0 2 if (defined $item and $item eq 'no_diag') { }
467 0 0 unless (@methods)
477 0 0 unless eval { do { $proto->can($method) } }
481 0 0 @methods == 1 ? :
525 0 0 unless defined $obj_name
527 0 0 if (not defined $object) { }
0 0 elsif (not ref $object) { }
537 0 0 if ($@) { }
0 0 elsif (not $rslt) { }
538 0 0 if ($@ =~ /^Can't call method "isa" on unblessed reference/) { }
539 0 0 unless (UNIVERSAL::isa($object, $class))
561 0 0 if ($diag) { }
653 1 0 unless @imports
660 0 1 if (@imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/) { }
677 0 1 unless ($ok)
708 0 0 unless _is_module_name($module)
718 0 0 unless ($ok)
781 0 0 unless (@_ == 2 or @_ == 3)
799 0 0 if (not ref $this || ref $that) { }
0 0 elsif (not ref $this xor not ref $that) { }
808 0 0 if (_deep_check($this, $that)) { }
828 0 0 if ($type eq 'HASH') { }
0 0 elsif ($type eq 'ARRAY') { }
0 0 elsif ($type eq 'REF') { }
829 0 0 unless $did_arrow++
833 0 0 unless $did_arrow++
849 0 0 ref $val ? :
0 0 $val eq $DNE ? :
0 0 !defined($val) ? :
866 0 0 unless ref $thing
869 0 0 if UNIVERSAL::isa($thing, $type)
990 0 0 unless (defined $how_many)
992 0 0 unless $tb->has_plan eq 'no_plan'
1071 0 0 unless (defined $how_many)
1073 0 0 unless $tb->has_plan eq 'no_plan'
1168 0 0 if (grep((!_type($_) eq 'ARRAY'), $a1, $a2))
1173 0 0 if $a1 eq $a2
1176 0 0 $#$a1 > $#$a2 ? :
1178 0 0 $_ > $#$a1 ? :
1179 0 0 $_ > $#$a2 ? :
1183 0 0 if $ok
1185 0 0 unless $ok
1212 0 0 if (defined $e1 xor defined $e2) { }
0 0 elsif ($e1 == $DNE xor $e2 == $DNE) { }
0 0 elsif ($same_ref and $e1 eq $e2) { }
0 0 elsif ($not_ref) { }
1226 0 0 if ($Test::More::Refs_Seen{$e1}) { }
1234 0 0 unless _type($e2) eq $type
1236 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) { }
1249 0 0 if $ok
1254 0 0 if $ok
1272 0 0 if ($check)
1298 0 0 if (grep((!_type($_) eq 'HASH'), $a1, $a2))
1303 0 0 if $a1 eq $a2
1306 0 0 keys %$a1 > keys %$a2 ? :
1308 0 0 exists $$a1{$k} ? :
1309 0 0 exists $$a2{$k} ? :
1313 0 0 if $ok
1315 0 0 unless $ok
1349 0 0 unless @$a1 == @$a2