Branch Coverage

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


line true false branch
211 0 11805 if ($n < 0)
212 0 11805 if (is_infinite($n))
225 63 11742 if ($n != $int)
268 26367 33404 if ($rev)
279 11742 0 if ($rot == 0) { }
0 0 elsif ($rot == 1) { }
300 25240 34531 if ($digit == 0) { }
7309 27222 elsif ($digit == 1) { }
5869 21353 elsif ($digit == 2) { }
4112 17241 elsif ($digit == 3) { }
4240 13001 elsif ($digit == 4) { }
3689 9312 elsif ($digit == 5) { }
9312 0 elsif ($digit == 6) { }
356 0 0 if ($self->{'arms'} == 3) { }
394 0 168 if (($x ^ $y) & 1)
400 0 168 if (is_infinite($level_limit))
406 0 727 if ($level_limit-- < 0)
410 164 563 if ($x == 0 and $y == 0)
416 2 561 if ($x == -2 and $y == 0)
422 2 559 if ($x == -1 and $y == -1)
440 107 452 if ($m == 2) { }
101 351 elsif ($m == 3) { }
81 270 elsif ($m == 1) { }
64 206 elsif ($m == 4) { }
76 130 elsif ($m == 6) { }
68 62 elsif ($m == 5) { }
471 2 166 if ($arm >= $arms)
503 0 137 if (is_infinite($level_limit))
509 3 134 if $x1 > $x2
510 0 137 if $y1 > $y2
515 10931 934 $x > $x2 ? :
8298 11865 $x < $x1 ? :
518 9162 1059 $y > $y2 ? :
9942 10221 $y < $y1 ? :
534 278 141 if ($top > 0) { }
550 139 10428 if ($i == 0 and $nh == 0)
552 137 2 if (not defined $n_lo or $n < $n_lo)
558 9761 667 if ($i == 0 or $nh > $hypot[$i]) { }
563 1161 280 if (++$i <= $top) { }
580 137 277 if (defined $n_lo)
585 0 277 if (++$top > $level_limit)
607 139 9457 if ($i == 0 and $nh == 0)
609 131 8 if ($n > $n_hi)
615 8067 1398 if ($i == 0 or $nh > 6 * 7 ** $i) { }
620 863 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))