Condition Coverage

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


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
532 0 0 0 $n1 / $d <= 1 and $n1 / $d >= 0
555 0 0 0 sprintf('%0.9f', $n1 / $d) <= 1 and sprintf('%0.9f', $n1 / $d) >= 0
559 0 0 0 sprintf('%0.9f', $n2 / $d) <= 1 and sprintf('%0.9f', $n2 / $d) >= 0
619 0 0 0 $n1 / $d <= 1 and $n1 / $d >= 0
1230 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
1230 0 0 0 $bound[$i][1] <= $y && $y < $bound[$j][1] || $bound[$j][1] <= $y && $y < $bound[$i][1]