Branch Coverage

blib/lib/Data/Cmp/StrOrNumeric.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
27 37 2 if ($def1) { }
28 1 36 unless $def2
30 1 1 $def2 ? :
37 15 21 if (not $reftype1 || $reftype2) { }
2 19 elsif ($reftype1 xor $reftype2) { }
40 9 6 if ($lln1 and $lln2) { }
41 0 9 if (defined $EPSILON and abs $d1 - $d2 < $EPSILON) { }
53 1 18 if $reftype1 ne $reftype2
59 2 16 if (defined $pkg1) { }
60 1 1 unless defined $pkg2 and $pkg1 eq $pkg2
62 0 16 if defined $pkg2
70 7 10 if ($reftype1 eq 'ARRAY' and not $_seen_refaddrs{$refaddr1} and not $_seen_refaddrs{$refaddr2}) { }
8 2 elsif ($reftype1 eq 'HASH' and not $_seen_refaddrs{$refaddr1} and not $_seen_refaddrs{$refaddr2}) { }
74 2 5 $#{$d1;} < $#{$d2;} ? :
76 3 1 if $cmpres
86 4 5 unless (exists $d2->{$k})
88 1 4 if $cmpres
92 1 1 $refaddr1 == $refaddr2 ? :