blib/lib/Math/Polygon/Convex.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
40 | 0 | 22 | unless $Math::Polygon::Convex::a->[0] <=> $Math::Polygon::Convex::b->[0] |
48 | 0 | 1 | if ($minmax == @P - 1) |
50 | 0 | 0 | if $P[$minmax][1] != $P[$minmin][1] |
66 | 2 | 6 | if $i < $maxmin and &is_left($P[$minmin], $P[$maxmin], $P[$i]) >= 0 |
75 | 0 | 1 | if $maxmax != $maxmin |
83 | 7 | 1 | if $i > $minmax and &is_left($P[$maxmax], $P[$minmax], $P[$i]) >= 0 |
92 | 1 | 0 | if $minmax != $minmin |