Branch Coverage

blib/lib/Math/PlanePath/CellularRule54.pm
Criterion Covered Total %
branch 25 36 69.4


line true false branch
64 0 1 unless (defined $self->{'n_start'})
129 0 25 if (2 * $frac >= 1)
138 3 22 if ($n < 0)
149 7 15 if ($n <= $d) { }
170 240 256 if ($y < 0 or $x < -$y or $x > $y)
177 136 120 if ($y % 2) { }
179 28 108 if ($x % 4 == 3)
185 84 36 if ($x % 4)
197 0 0 unless ($x1, $y1, $x2, $y2) = _rect_for_V($x1, $y1, $x2, $y2)
224 50 172 if ($y1 > $y2)
226 0 222 unless ($y2 >= 0)
230 0 222 unless ($y1 >= 0)
237 111 111 if ($x1 > $x2)
252 0 222 if ($x1 > $y2 or $x2 < $neg_y2)
264 0 222 if ($x2 > $y2)
276 0 222 if ($x1 < $neg_y2)
296 0 222 if ($x1 > $y1) { }
0 222 elsif ((my $neg_x2 = -$x2) > $y1) { }