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
44 0 7 8 @_ and not ref $_[0]
52 4 1 2 $sx == 1 and $sy == 1
66 0 3 4 @_ and not ref $_[0]
73 1 0 2 $dx == 0 and $dy == 0
83 0 6 8 @_ and not ref $_[0]
117 0 4 3 @_ and not ref $_[0]
127 1 1 1 $raster > "0.99999" and $raster < "1.00001"
138 0 8 10 @_ and not ref $_[0]
203 0 11 8 @_ and not ref $_[0]
211 1 4 6 $_[0][0] == $_[-1][0] && $_[0][1] == $_[-1][1]
216 11 0 22 $changes and @_
238 16 51 7 @_ >= 2 and defined $slope
257 1 3 1 @_ > 2 and abs $d01 - $d12 - $d02 < $slope
277 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
50 2 3 $args->{'xscale'} || $args->{'scale'} || 1.0
51 2 3 $args->{'yscale'} || $args->{'scale'} || 1.0
72 1 2 $args->{'dx'} || 0
1 2 $args->{'dy'} || 0
159 2 1 $args->{'b'} || 0
212 4 7 $args->{'same'} || 0.0001

or 3 conditions

line l !l&&r !l&&!r condition
56 1 0 4 $cx || $cy
101 1 0 2 $cx or $cy
277 0 2 10 $new[0][0] != $new[-1][0] || $new[0][1] != $new[-1][1]