Branch Coverage

blib/lib/Math/Polygon.pm
Criterion Covered Total %
branch 17 40 42.5


line true false branch
28 3 9 if (ref $thing)
33 29 6 if (ref $_[0] eq 'ARRAY') { }
61 2 13 if $format
62 9 6 wantarray ? :
68 1 2 wantarray ? :
76 0 0 if $self->{'MP_bbox'}
86 0 1 if defined $self->{'MP_area'}
92 0 0 if $self->{'MP_centroid'}
99 2 1 if defined $self->{'MP_clockwise'}
106 0 0 if $self->isClockwise
116 0 0 unless $self->isClockwise
136 0 0 @beauty > 2 ? :
143 2 1 if (@_ > 2 or ref $_[1] eq 'ARRAY') { }
145 0 1 ref $_[0] eq 'ARRAY' ? :
155 2 0 if (@_ > 2 or ref $_[1] eq 'ARRAY') { }
157 0 0 ref $_[0] eq 'ARRAY' ? :
185 0 0 if (defined $clockwise)
189 0 0 if $xscale * $yscale < 0
237 0 0 if defined $clockwise
269 0 0 unless @clip