Branch Coverage

blib/lib/Math/PlanePath/PeanoCurve.pm
Criterion Covered Total %
branch 38 64 59.3


line true false branch
93 0 0 $self->{'radix'} % 2 ? :
99 0 0 $self->{'radix'} % 2 ? :
107 0 0 $self->{'radix'} % 2 ? :
134 0 0 $self->{'radix'} % 2 ? :
146 0 0 $self->{'radix'} == 2 ? :
155 7 4 if (not $self->{'radix'} or $self->{'radix'} < 2)
167 52494 8091 if (scalar @ndigits & 1)
182 55512 116961 $yk & 1 ? :
187 55184 117289 $xk & 1 ? :
199 0 20183 if ($n < 0)
202 0 20183 if (is_infinite($n))
212 1 20182 if ($n != $int)
231 11 842 if ($offset_xk and ($x -= $offset_xk) < 0 or $offset_yk and ($y -= $offset_yk) < 0)
251 1670 2489 if ($yk & 1)
259 2084 2075 if ($xk & 1)
268 787 55 (!defined($offset_xk) || ($xk & 1) == $offset_xk) && (!defined($offset_yk) || ($yk & 1) == $offset_yk) ? :
282 0 731 if ($x < 0 or $y < 0)
283 0 731 if (is_infinite($x))
284 0 731 if (is_infinite($y))
297 0 1 if $x1 > $x2
298 0 1 if $y1 > $y2
301 0 1 if ($x2 < 0 or $y2 < 0)
308 0 1 if (is_infinite($level))
334 1 4 if ($ck & 1)
350 1 1 if &$overlap($max_y, $max_yk, $digit, $y1, $y2)
354 0 1 if ($max_yk & 1)
363 1 0 if &$overlap($min_y, $min_yk, $digit, $y1, $y2)
367 0 1 if ($min_yk & 1)
378 1 0 if &$overlap($max_x, $max_xk, $digit, $x1, $x2)
382 1 0 if ($max_xk & 1)
391 1 0 if &$overlap($min_x, $min_xk, $digit, $x1, $x2)
395 0 1 if ($min_xk & 1)