Condition Coverage

blib/lib/Test/Deep.pm
Criterion Covered Total %
condition 37 53 69.8


and 3 conditions

line !l l&&!r l&&r condition
349 5 338 271 defined $d2 and $d1 eq $d2
357 388 1794 93 not $Expects and &Scalar::Util::blessed($d1)
2182 92 1 not $Expects and &Scalar::Util::blessed($d1) and $d1->isa("Test::Deep::Cmp")
363 1044 42 1188 ref $d1 and ref $d2
368 1086 84 18 $Expects and &Scalar::Util::blessed($d1)
1170 0 18 $Expects and &Scalar::Util::blessed($d1) and $d1->isa("Test::Deep::Cmp")
403 1044 1171 5 ref $d1 and &Scalar::Util::refaddr($d1) == $DNE_ADDR
429 619 8 1609 defined $class and $data->isa("Test::Deep::Cmp")
431 619 8 0 defined $class and $data->can("as_test_deep_cmp")
493 0 0 0 $blessed and $blessed eq "Regexp"
0 0 0 $blessed and $blessed eq "Regexp" and $reftype eq "SCALAR"

or 2 conditions

line l !l condition
594 5 0 ref $_[1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
304 0 85 0 $got //= $exp->renderGot($last->{'got'})
305 0 85 0 $expected //= $exp->renderExp
306 27 58 0 $message //= "Compared $where"
344 1231 698 621 ref $d1 or ref $d2
453 11 10 2 $reftype eq "SCALAR" or $reftype eq "REF"
0 2 0 $reftype eq "Regexp" or $reftype eq "REGEXP"