Branch Coverage

blib/lib/Math/PlanePath/AlternateTerdragon.pm
Criterion Covered Total %
branch 49 72 68.0


line true false branch
81 0 0 $self->{'arms'} == 1 ? :
90 0 0 $self->{'arms'} <= 2 ? :
95 0 0 $self->{'arms'} <= 1 ? :
100 0 0 $self->{'arms'} == 1 ? :
122 0 0 $self->{'arms'} == 1 ? :
145 0 28 if ($n < 0)
146 0 28 if (is_infinite($n))
171 32 45 if ($digit == 1) { }
27 18 elsif ($digit == 2) { }
177 12 65 unless @n
179 20 45 if ($digit == 1) { }
24 21 elsif ($digit == 2) { }
192 1 27 if ($rot >= 3)
196 7 21 if ($rot == 1) { }
3 18 elsif ($rot == 2) { }
205 0 0 if ($self->{'arms'} == 6) { }
224 0 35 if (is_infinite($sum))
225 0 35 if ($sum % 2)
228 9 26 if ($x == 0 and $y == 0)
238 3 75 if $arm >= $arms_count
239 22 53 if ($arm & 1)
263 53 465 if ($x == 0 and $y == 0)
264 15 133 if ($d == 2 and $x == 1 and $y == 1)
265 3 157 if ($d == 0 and $x == -2 and $y == 0)
266 7 150 if ($d == 1 and $x == 1 and $y == -1)
268 325 115 if ($a)
271 183 257 if ($a == 1)
290 38 40 if (scalar @ndigits & 1)
313 0 4 if ($n < 0)
316 0 4 if (is_infinite($n))
328 1 1 if ($ndigits[$i] == 1)
329 0 1 $i & 1 ? :
336 3 1 if ($n)
342 1 1 if ($ndigits[$i] != 2)
371 0 0 if ($n < 0)
372 0 0 if (is_infinite($n))