Branch Coverage

blib/lib/Math/PlanePath/KochPeaks.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
125 11 370 if (2 * $n + 1 < 2 * $base)
140 0 381 if 2 * $n < 1
142 0 381 if (is_infinite($n))
148 2 379 if ($rem < 0) { }
1 378 elsif ($rem > 2 * $side) { }
173 361 20 if ($rem < $side) { }
197 265 5366 if ($y < 0 or not +($x ^ $y) & 1)
204 0 5366 if (is_infinite($level))
209 259 5107 if ($x < 0) { }
226 11429 7882 if ($x < $len) { }
229 9462 1967 if ($x < $rel) { }
241 3548 4334 if ($x < $y) { }
253 4814 552 if ($x)
258 4987 379 if ($x != 0 or $y != 0)
286 0 17 if ($y1 < 0 and $y2 < 0)
315 0 0 if ($n < 1)
316 0 0 if (is_infinite($n))