Condition Coverage

blib/lib/Math/Polygon/Transform.pm
Criterion Covered Total %
condition 52 63 82.5


and 3 conditions

line !l l&&!r l&&r condition
34 0 7 8 @_ and not ref $_[0]
41 4 1 2 $sx == 1 and $sy == 1
54 0 3 4 @_ and not ref $_[0]
60 1 0 2 $dx == 0 and $dy == 0
68 0 6 8 @_ and not ref $_[0]
98 0 4 3 @_ and not ref $_[0]
107 1 1 1 $raster > 0.99999 and $raster < 1.00001
118 0 8 10 @_ and not ref $_[0]
179 0 11 8 @_ and not ref $_[0]
186 1 4 6 $_[0][0] == $_[-1][0] && $_[0][1] == $_[-1][1]
193 11 0 22 $changes and @_
216 16 51 7 @_ >= 2 and defined $slope
235 1 3 1 @_ > 2 and abs $d01 - $d12 - $d02 < $slope
255 10 10 2 $is_ring and $new[0][0] != $new[-1][0] || $new[0][1] != $new[-1][1]

or 2 conditions

line l !l condition
39 2 3 $opts{'xscale'} || $opts{'scale'} || 1
40 2 3 $opts{'yscale'} || $opts{'scale'} || 1
59 1 2 $opts{'dx'} || 0
1 2 $opts{'dy'} || 0
138 2 1 $opts{'b'} || 0
188 4 7 $opts{'same'} || 0.0001

or 3 conditions

line l !l&&r !l&&!r condition
45 1 0 4 $cx or $cy
84 1 0 2 $cx or $cy
255 0 2 10 $new[0][0] != $new[-1][0] || $new[0][1] != $new[-1][1]