Branch Coverage

blib/lib/Math/Polygon.pm
Criterion Covered Total %
branch 17 38 44.7


line true false branch
39 3 9 if (ref $thing)
44 29 6 if (ref $_[0] eq 'ARRAY') { }
71 2 13 if $format
72 9 6 wantarray ? :
78 1 2 wantarray ? :
85 0 0 if $self->{'MP_bbox'}
95 0 1 if defined $self->{'MP_area'}
108 2 1 if defined $self->{'MP_clockwise'}
115 0 0 if $self->isClockwise
125 0 0 unless $self->isClockwise
145 0 0 @beauty > 2 ? :
152 2 1 if (@_ > 2 or ref $_[1] eq 'ARRAY') { }
154 0 1 ref $_[0] eq 'ARRAY' ? :
164 2 0 if (@_ > 2 or ref $_[1] eq 'ARRAY') { }
166 0 0 ref $_[0] eq 'ARRAY' ? :
193 0 0 if (defined $clockwise)
197 0 0 if $xscale * $yscale < 0
245 0 0 if defined $clockwise
276 0 0 @clip ? :