Condition Coverage

blib/lib/Math/Polygon/Convex.pm
Criterion Covered Total %
condition 14 21 66.6


and 3 conditions

line !l l&&!r l&&r condition
46 0 1 1 $minmax < @P - 1 and $P[$minmax + 1][0] == $xmin
60 0 1 0 $maxmin >= 1 and $P[$maxmin - 1][0] == $xmax
66 1 5 2 $i < $maxmin and &is_left($P[$minmin], $P[$maxmin], $P[$i]) >= 0
70 3 3 2 @H >= 2 and &is_left($H[-2], $H[-1], $P[$i]) < 0
83 1 0 7 $i > $minmax and &is_left($P[$maxmax], $P[$minmax], $P[$i]) >= 0
87 1 0 0 @H - 1 > $bot and &is_left($H[-2], $H[-1], $P[$i]) < 0
97 4 1 0 $H[$i][0] == $H[$i - 1][0] and $H[$i][1] == $H[$i - 1][1]