Branch Coverage

blib/lib/Math/PlanePath/AlternatePaperMidpoint.pm
Criterion Covered Total %
branch 41 54 75.9


line true false branch
96 0 0 $self->arms_count <= 3 ? :
102 0 0 $self->arms_count == 1 ? :
159 0 2659 if ($n < 0)
160 0 2659 if (is_infinite($n))
164 6 2653 if ($n != $int)
188 5186 1903 if ($digit != 3)
204 1443 1210 if ($arm & 1)
207 1306 1347 if ($arm & 2)
210 1046 1607 if ($arm & 4)
265 0 44 if (is_infinite($x))
268 0 44 if (is_infinite($y))
274 33 11 $x >= 0 ? :
37 7 if ($y >= ($x >= 0 ? 0 : 2)) { }
282 35 9 $y > 0 ? :
7 37 if ($x < ($y > 0 ? 1 : 0))
287 14 30 if ($y > $x - $x % 2)
296 0 44 if ($arm >= $self->{'arms'})
301 0 44 if (is_infinite($level))
336 119 81 if ($x < $len) { }
338 63 56 if ($x + $y + $x % 2 < $len) { }
350 35 46 if ($y <= $x - $x % 2) { }
388 0 40 if $x1 > $x2
389 0 40 if $y1 > $y2
392 0 40 if ($arms == 1 and $y1 > $x2 or $arms <= 2 and $x2 < 0 or $arms <= 4 and $y2 < 0)
399 35 5 $arms >= 2 ? :
25 15 $arms >= 4 ? :
15 25 $arms >= 6 ? :