blib/lib/Math/Polygon/Convex.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
44 | 0 | 22 | unless $Math::Polygon::Convex::a->[0] <=> $Math::Polygon::Convex::b->[0] |
52 | 0 | 1 | if ($minmax == @P - 1) |
54 | 0 | 0 | if $P[$minmax][1] != $P[$minmin][1] |
70 | 2 | 6 | if $i < $maxmin and &is_left($P[$minmin], $P[$maxmin], $P[$i]) >= 0 |
79 | 0 | 1 | if $maxmax != $maxmin |
87 | 7 | 1 | if $i > $minmax and &is_left($P[$maxmax], $P[$minmax], $P[$i]) >= 0 |
96 | 1 | 0 | if $minmax != $minmin |