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
358 5 354 274 defined $d2 and $d1 eq $d2
366 390 1812 93 not $Expects and &Scalar::Util::blessed($d1)
2202 92 1 not $Expects and &Scalar::Util::blessed($d1) and $d1->isa("Test::Deep::Cmp")
372 1061 42 1191 ref $d1 and ref $d2
377 1089 84 18 $Expects and &Scalar::Util::blessed($d1)
1173 0 18 $Expects and &Scalar::Util::blessed($d1) and $d1->isa("Test::Deep::Cmp")
412 1061 1174 5 ref $d1 and &Scalar::Util::refaddr($d1) == $DNE_ADDR
438 635 8 1613 defined $class and $data->isa("Test::Deep::Cmp")
440 635 8 0 defined $class and $data->can("as_test_deep_cmp")
502 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
603 5 0 ref $_[1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
313 0 85 0 $got //= $exp->renderGot($last->{'got'})
314 0 85 0 $expected //= $exp->renderExp
315 27 58 0 $message //= "Compared $where"
353 1234 699 640 ref $d1 or ref $d2
462 11 10 2 $reftype eq "SCALAR" or $reftype eq "REF"
0 2 0 $reftype eq "Regexp" or $reftype eq "REGEXP"