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 169 1 88 $type eq 'ARRAY' and $x != $y
101 2 67 $type eq 'HASH' and $x != $y
80 16 7 $type and $x == $y
233 14 18 75 exists $x->{$k} and exists $y->{$k}
248 51 2 12 exists $d->{'U'} and exists $d->{'D'}
271 97 33 201 $xi == $xm->[0] and $yi == $ym->[0]
33 30 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'}
425 7 30 85 exists $_->{'D'} or exists $_->{'N'}
440 16 4 22 exists $v->{'D'} or exists $v->{'N'}
499 5 1 31 not &looks_like_number($diff->{'I'}) or int $diff->{'I'} != $diff->{'I'}