Branch Coverage

inc/Test/Deep.pm
Criterion Covered Total %
branch 21 70 30.0


line true false branch
109 0 0 if (@_ == 1) { }
127 0 6 unless ($Test->ok($ok, $name))
188 0 0 unless $stack
197 0 0 if (ref $exp)
199 0 0 if ($exp->can('diagnostics')) { }
206 0 0 if ($exp->can('diag_message'))
213 0 0 unless (defined $diag)
215 0 0 unless defined $got
216 0 0 unless defined $expected
217 0 0 unless defined $message
235 0 0 if (defined $val) { }
237 0 0 &Scalar::Util::refaddr($val) eq $Test::Deep::DNE_ADDR ? :
0 0 ref $val ? :
256 0 96 if (not $Test::Deep::Expects and ref $d1 and UNIVERSAL::isa($d1, 'Test::Deep::Cmp'))
262 60 36 if (ref $d1 and ref $d2)
267 0 60 if ($Test::Deep::Expects and UNIVERSAL::isa($d1, 'Test::Deep::Cmp'))
270 0 0 unless blessed(&Scalar::Util::blessed($d2))->descend($d1)
271 0 0 if ($d1->can('compare'))
280 0 60 if ($s1 eq $s2)
284 0 60 if ($Test::Deep::CompareCache->cmp($d1, $d2)) { }
302 0 96 if (ref $d1 and &Scalar::Util::refaddr($d1) == $Test::Deep::DNE_ADDR)
309 96 0 if ($d2->descend($d1)) { }
327 70 26 if ref $data and UNIVERSAL::isa($data, 'Test::Deep::Cmp')
333 16 10 if ($base eq '') { }
341 0 10 if $Test::Deep::WrapCache{$addr}
343 0 0 $] <= 5.01 ? :
4 6 if ($base eq 'ARRAY') { }
6 0 elsif ($base eq 'HASH') { }
0 0 elsif ($base eq 'SCALAR' or $base eq 'REF') { }
0 0 elsif ($] <= 5.01 ? $base eq 'Regexp' : $base eq 'REGEXP') { }
373 10 16 if (ref $val) { }
376 0 10 defined $blessed ? :
380 0 10 if ($] <= 5.01)
381 0 0 if ($blessed eq 'Regexp' and $reftype eq 'SCALAR')
503 0 0 if (@_)