Condition Coverage

blib/lib/CAD/Calc.pm
Criterion Covered Total %
condition 0 20 0.0


and 2 conditions

line l !l condition
971 0 0 $c = $pgon[$a][$_] <=> $pgon[$b][$_] and return $c

and 3 conditions

line !l l&&!r l&&r condition
534 0 0 0 $n1 / $d <= 1 and $n1 / $d >= 0
557 0 0 0 sprintf('%0.9f', $n1 / $d) <= 1 and sprintf('%0.9f', $n1 / $d) >= 0
561 0 0 0 sprintf('%0.9f', $n2 / $d) <= 1 and sprintf('%0.9f', $n2 / $d) >= 0
621 0 0 0 $n1 / $d <= 1 and $n1 / $d >= 0
1235 0 0 0 $bound[$i][1] <= $y && $y < $bound[$j][1] || $bound[$j][1] <= $y && $y < $bound[$i][1] and $x < ($bound[$j][0] - $bound[$i][0]) * ($y - $bound[$i][1]) / ($bound[$j][1] - $bound[$i][1]) + $bound[$i][0]

or 3 conditions

line l !l&&r !l&&!r condition
1235 0 0 0 $bound[$i][1] <= $y && $y < $bound[$j][1] || $bound[$j][1] <= $y && $y < $bound[$i][1]