Condition Coverage

blib/lib/Struct/Diff.pm
Criterion Covered Total %
condition 39 39 100.0


and 3 conditions

line !l l&&!r l&&r condition
193 167 1 86 $type eq 'ARRAY' and $x != $y
101 2 65 $type eq 'HASH' and $x != $y
80 16 7 $type and $x == $y
233 13 17 75 exists $x->{$k} and exists $y->{$k}
248 49 2 12 exists $d->{'U'} and exists $d->{'D'}
271 96 32 199 $xi == $xm->[0] and $yi == $ym->[0]
32 29 67 $xi < $xm->[0] and $yi < $ym->[0]
330 15 3 2 $opts{'depth'} and @{$path;} >= $opts{'depth'}

or 3 conditions

line l !l&&r !l&&!r condition
193 7 11 85 $type and $x == $y or $opts{'freezer'}->($x) eq $opts{'freezer'}($y)
330 16 2 18 not exists ${$diff;}->{'D'} or $opts{'depth'} and @{$path;} >= $opts{'depth'}
419 7 30 85 exists $_->{'D'} or exists $_->{'N'}
434 16 4 22 exists $v->{'D'} or exists $v->{'N'}
493 5 1 31 not &looks_like_number($diff->{'I'}) or int $diff->{'I'} != $diff->{'I'}