| blib/lib/Math/Polygon.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 21 | 38.1 |
| line | l | !l | condition |
|---|---|---|---|
| 109 | 0 | 1 | &polygon_is_clockwise($self->points) || 0 |
| 195 | 0 | 0 | $args{'xscale'} || $args{'scale'} || 1 |
| 196 | 0 | 0 | $args{'yscale'} || $args{'scale'} || 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 35 | 3 | 9 | 0 | ref $thing || $thing |
| 54 | 5 | 7 | 0 | $args->{'points'} || $args->{'_points'} |
| 102 | 0 | 0 | 0 | $self->{'MP_centroid'} //= &polygon_centroid(\%args, $self->points) |
| 152 | 2 | 0 | 1 | @_ > 2 or ref $_[1] eq "ARRAY" |
| 164 | 2 | 0 | 0 | @_ > 2 or ref $_[1] eq "ARRAY" |