Branch Coverage

blib/lib/Math/PlanePath/PeanoDiagonals.pm
Criterion Covered Total %
branch 26 38 68.4


line true false branch
73 0 0 $self->{'radix'} % 2 ? :
81 7 51 if (not $self->{'radix'} or $self->{'radix'} < 2)
90 1 40403 if ($n < 0)
93 0 40403 if (is_infinite($n))
107 19708 20695 $xk & 1 ? :
20117 20286 $yk & 1 ? :
131 1 39 if ($x < 0 or $y < 0)
132 0 39 if (is_infinite($x))
133 0 39 if (is_infinite($y))
138 11 6 $x & 1 ? :
17 22 $self->{'radix'} & 1 ? :
155 0 47 if $x1 > $x2
156 0 47 if $y1 > $y2
159 0 47 if ($x2 < 0 or $y2 < 0)
166 0 47 if (is_infinite($level))
181 0 0 if ($n < 0)
194 2 20178 if ($n < 1 or is_infinite($n))
196 20178 0 if ($radix & 1)
202 10091 10087 $n % 2 ? :