Branch Coverage

blib/lib/Math/PlanePath/Staircase.pm
Criterion Covered Total %
branch 5 22 22.7


line true false branch
59 3 0 unless (defined $self->{'n_start'})
88 0 25 if ($r < 1)
103 14 11 if ($rem) { }
127 0 15 if ($x < 0 or $y < 0)
144 0 0 if ($x1 > $x2)
145 0 0 if ($y1 > $y2)
146 0 0 if ($x2 < 0 or $y2 < 0)
150 0 0 if ($x1 < 0)
151 0 0 if ($y1 < 0)
154 0 0 if (($x1 ^ $y1) & 1 and $y1 < $y2)
158 0 0 if (not +($x2 ^ $y2) & 1 and $y2 > $y_min)