Branch Coverage

inc/Test/Deep.pm
Criterion Covered Total %
branch 5 78 6.4


line true false branch
118 0 0 if (@_ == 1) { }
134 0 0 unless ($Test->ok($ok, $name))
195 0 0 unless $stack
204 0 0 if (&Scalar::Util::blessed($exp))
206 0 0 if ($exp->can('diagnostics')) { }
213 0 0 if ($exp->can('diag_message'))
220 0 0 unless (defined $diag)
222 0 0 unless defined $got
223 0 0 unless defined $expected
224 0 0 unless defined $message
241 0 0 if (defined $val) { }
243 0 0 &Scalar::Util::refaddr($val) eq $DNE_ADDR ? :
0 0 ref $val ? :
262 0 1 unless (ref $d1 or ref $d2)
265 0 0 if (defined $d1) { }
267 0 0 if defined $d2 and $d1 eq $d2
271 0 0 unless defined $d2
275 0 1 if (not $Expects and &Scalar::Util::blessed($d1) and $d1->isa('Test::Deep::Cmp'))
281 0 1 if (ref $d1 and ref $d2)
286 0 0 if ($Expects and &Scalar::Util::blessed($d1) and $d1->isa('Test::Deep::Cmp'))
289 0 0 unless blessed(&Scalar::Util::blessed($d2))->descend($d1)
290 0 0 if ($d1->can('compare'))
299 0 0 if ($s1 eq $s2)
303 0 0 if ($CompareCache->cmp($d1, $d2)) { }
321 0 1 if (ref $d1 and &Scalar::Util::refaddr($d1) == $DNE_ADDR)
328 0 0 if ($d2->descend($d1)) { }
346 1 0 if &Scalar::Util::blessed($data) and $data->isa('Test::Deep::Cmp')
352 0 0 if ($base eq '') { }
360 0 0 if $WrapCache{$addr}
362 0 0 if ($base eq 'ARRAY') { }
0 0 elsif ($base eq 'HASH') { }
0 0 elsif ($base eq 'SCALAR' or $base eq 'REF') { }
0 0 elsif ($base eq 'Regexp' or $base eq 'REGEXP') { }
392 0 0 if (ref $val) { }
395 0 0 defined $blessed ? :
399 0 0 if ($Test::Deep::RegexpVersion::OldStyle)
400 0 0 if ($blessed eq 'Regexp' and $reftype eq 'SCALAR')
500 0 0 unless $ref eq 'ARRAY'
525 0 0 if (@_)