blib/lib/Struct/Diff.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 39 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
189 | 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 | |
229 | 13 | 17 | 75 | exists $x->{$k} and exists $y->{$k} |
244 | 49 | 2 | 12 | exists $d->{'U'} and exists $d->{'D'} |
267 | 96 | 32 | 199 | $xi == $xm->[0] and $yi == $ym->[0] |
32 | 29 | 67 | $xi < $xm->[0] and $yi < $ym->[0] | |
326 | 15 | 3 | 2 | $opts{'depth'} and @{$path;} >= $opts{'depth'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 7 | 11 | 85 | $type and $x == $y or $opts{'freezer'}->($x) eq $opts{'freezer'}($y) |
326 | 16 | 2 | 18 | not exists ${$diff;}->{'D'} or $opts{'depth'} and @{$path;} >= $opts{'depth'} |
413 | 7 | 30 | 85 | exists $_->{'D'} or exists $_->{'N'} |
428 | 16 | 4 | 22 | exists $v->{'D'} or exists $v->{'N'} |
486 | 5 | 1 | 31 | not &looks_like_number($diff->{'I'}) or int $diff->{'I'} != $diff->{'I'} |