blib/lib/CAD/Calc.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 20 | 0.0 |
line | l | !l | condition |
---|---|---|---|
971 | 0 | 0 | $c = $pgon[$a][$_] <=> $pgon[$b][$_] and return $c |
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] |
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] |