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 333 272 defined $d2 and $d1 eq $d2
366 387 1792 93 not $Expects and &Scalar::Util::blessed($d1)
2179 92 1 not $Expects and &Scalar::Util::blessed($d1) and $d1->isa("Test::Deep::Cmp")
372 1040 42 1189 ref $d1 and ref $d2
377 1087 84 18 $Expects and &Scalar::Util::blessed($d1)
1171 0 18 $Expects and &Scalar::Util::blessed($d1) and $d1->isa("Test::Deep::Cmp")
412 1040 1172 5 ref $d1 and &Scalar::Util::refaddr($d1) == $DNE_ADDR
438 614 8 1611 defined $class and $data->isa("Test::Deep::Cmp")
440 614 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 1232 699 617 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"