| blib/lib/Math/PlanePath/Corner.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 34 | 70.5 |
| line | true | false | branch |
|---|---|---|---|
| 120 | 0 | 0 | $self->{'wider'} ? : |
| 135 | 57 | 0 | unless (defined $self->{'n_start'}) |
| 150 | 1 | 100 | if (2 * $n < 1) |
| 201 | 62 | 38 | if ($n < 0) { } |
| 218 | 0 | 392 | if ($x < 0 or $y < 0) |
| 224 | 295 | 97 | if ($y >= $xw) { } |
| 252 | 0 | 146 | if ($x1 > $x2) |
| 253 | 0 | 146 | if ($y1 > $y2) |
| 255 | 0 | 146 | if ($y2 < 0 or $x2 < 0) |
| 259 | 0 | 146 | if ($x1 < 0) |
| 260 | 0 | 146 | if ($y1 < 0) |
| 266 | 53 | 93 | if ($y1 <= $xw) |
| 270 | 26 | 27 | $y2 < $xw ? : |
| 303 | 60 | 86 | if ($y2 <= $x2 - $wider) |
| 337 | 0 | 36 | if ($n < 1) |
| 342 | 4 | 32 | if ($n <= $wider) |
| 354 | 17 | 15 | if ($n > $d * ($d + 1 + $wider) + $wider) |