Branch Coverage

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


line true false branch
93 0 0 $self->arms_count <= 3 ? :
99 0 0 $self->arms_count == 1 ? :
156 0 2659 if ($n < 0)
157 0 2659 if (is_infinite($n))
161 6 2653 if ($n != $int)
185 5210 1913 if ($digit != 3)
201 1445 1208 if ($arm & 1)
204 1310 1343 if ($arm & 2)
207 1050 1603 if ($arm & 4)
262 0 44 if (is_infinite($x))
265 0 44 if (is_infinite($y))
271 30 14 $x >= 0 ? :
33 11 if ($y >= ($x >= 0 ? 0 : 2)) { }
279 37 7 $y > 0 ? :
11 33 if ($x < ($y > 0 ? 1 : 0))
284 16 28 if ($y > $x - $x % 2)
293 0 44 if ($arm >= $self->{'arms'})
298 0 44 if (is_infinite($level))
333 126 110 if ($x < $len) { }
335 75 51 if ($x + $y + $x % 2 < $len) { }
347 61 49 if ($y <= $x - $x % 2) { }
385 0 40 if $x1 > $x2
386 0 40 if $y1 > $y2
389 0 40 if ($arms == 1 and $y1 > $x2 or $arms <= 2 and $x2 < 0 or $arms <= 4 and $y2 < 0)
396 35 5 $arms >= 2 ? :
25 15 $arms >= 4 ? :
15 25 $arms >= 6 ? :