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 5207 1906 if ($digit != 3)
204 1444 1209 if ($arm & 1)
207 1307 1346 if ($arm & 2)
210 1046 1607 if ($arm & 4)
265 0 44 if (is_infinite($x))
268 0 44 if (is_infinite($y))
274 30 14 $x >= 0 ? :
37 7 if ($y >= ($x >= 0 ? 0 : 2)) { }
282 36 8 $y > 0 ? :
8 36 if ($x < ($y > 0 ? 1 : 0))
287 15 29 if ($y > $x - $x % 2)
296 0 44 if ($arm >= $self->{'arms'})
301 0 44 if (is_infinite($level))
336 117 106 if ($x < $len) { }
338 64 53 if ($x + $y + $x % 2 < $len) { }
350 61 45 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 ? :