Branch Coverage

blib/lib/Math/PlanePath/DekkingCurve.pm
Criterion Covered Total %
branch 25 44 56.8


line true false branch
129 0 22674 if ($n < 0)
130 0 22674 if (is_infinite($n))
137 0 22674 if ($arm)
163 22674 0 if ($arm < 2)
164 22674 0 if ($arm < 1)
167 0 0 if ($arm < 3)
177 0 9405 if (is_infinite($x))
180 0 9405 if (is_infinite($y))
185 0 9405 if ($arms < 2 and $x < 0 or $arms < 3 and $y < 0)
205 22565 0 if (my($nx, $ny) = $self->n_to_xy($n))
206 5019 17546 if ($nx == $x and $ny == $y)
207 0 5019 $arm ? :
228 0 8 if ($x1 > $x2)
229 0 8 if ($y1 > $y2)
232 0 8 if ($arms < 2 and $x2 < 0 or $arms < 3 and $y2 < 0)
251 0 8 if ($n < 0)
252 0 8 if (is_infinite($n))
266 0 3126 if ($x < 0 or is_infinite($x))
267 1 3125 if ($x == 0)
269 2500 625 if ($digit)
280 0 3126 if ($y < 0 or is_infinite($y))
282 2501 625 if ($digit != 4)