Branch Coverage

blib/lib/Math/PlanePath/FlowsnakeCentres.pm
Criterion Covered Total %
branch 78 96 81.2


line true false branch
211 0 12139 if ($n < 0)
212 0 12139 if (is_infinite($n))
225 63 12076 if ($n != $int)
268 28462 33863 if ($rev)
279 12076 0 if ($rot == 0) { }
0 0 elsif ($rot == 1) { }
300 26003 36322 if ($digit == 0) { }
8371 27951 elsif ($digit == 1) { }
5558 22393 elsif ($digit == 2) { }
4285 18108 elsif ($digit == 3) { }
4205 13903 elsif ($digit == 4) { }
3953 9950 elsif ($digit == 5) { }
9950 0 elsif ($digit == 6) { }
356 0 0 if ($self->{'arms'} == 3) { }
394 0 163 if (($x ^ $y) & 1)
400 0 163 if (is_infinite($level_limit))
406 0 725 if ($level_limit-- < 0)
410 159 566 if ($x == 0 and $y == 0)
416 2 564 if ($x == -2 and $y == 0)
422 2 562 if ($x == -1 and $y == -1)
440 129 433 if ($m == 2) { }
81 352 elsif ($m == 3) { }
64 288 elsif ($m == 1) { }
73 215 elsif ($m == 4) { }
85 130 elsif ($m == 6) { }
72 58 elsif ($m == 5) { }
471 2 161 if ($arm >= $arms)
503 0 137 if (is_infinite($level_limit))
509 3 134 if $x1 > $x2
510 0 137 if $y1 > $y2
515 11199 925 $x > $x2 ? :
8651 12124 $x < $x1 ? :
518 9268 1065 $y > $y2 ? :
10442 10333 $y < $y1 ? :
534 298 141 if ($top > 0) { }
550 139 10681 if ($i == 0 and $nh == 0)
552 137 2 if (not defined $n_lo or $n < $n_lo)
558 10050 631 if ($i == 0 or $nh > $hypot[$i]) { }
563 1193 300 if (++$i <= $top) { }
580 137 297 if (defined $n_lo)
585 0 297 if (++$top > $level_limit)
607 139 9816 if ($i == 0 and $nh == 0)
609 131 8 if ($n > $n_hi)
615 8378 1446 if ($i == 0 or $nh > 6 * 7 ** $i) { }
620 894 10 if (++$i < $level_limit) { }
637 7 130 if ($n_hi == 0)
662 0 0 if ($n < 0)
663 0 0 if (is_infinite($n))