Branch Coverage

blib/lib/Math/Polygon/Convex.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
53 0 22 unless $Math::Polygon::Convex::a->[0] <=> $Math::Polygon::Convex::b->[0]
61 0 1 if ($minmax == @P - 1)
63 0 0 if $P[$minmax][1] != $P[$minmin][1]
79 2 6 if $i < $maxmin and &is_left($P[$minmin], $P[$maxmin], $P[$i]) >= 0
87 0 1 if $maxmax != $maxmin
95 7 1 if $i > $minmax and &is_left($P[$maxmax], $P[$minmax], $P[$i]) >= 0
103 1 0 if $minmax != $minmin