Branch Coverage

blib/lib/Math/PlanePath/CCurve.pm
Criterion Covered Total %
branch 29 66 43.9


line true false branch
82 0 1424 if ($n < 0)
83 0 1424 if (is_infinite($n))
101 1201 4984 if ($digit == 0) { }
1665 3319 elsif ($digit == 1) { }
1654 1665 elsif ($digit == 2) { }
117 221 1203 if ($rot & 2)
121 955 469 if ($rot & 1)
157 0 113 if (is_infinite($x))
158 0 113 if (is_infinite($y))
172 550 931 if ($bit)
205 283 169 unless ($ds == 1 and $dd == -1)
207 85 84 if ($s == $ds and $d == $dd) { }
81 3 elsif ($s != 0 or $d != 0) { }
237 0 5 if $x1 > $x2
238 0 5 if $y1 > $y2
241 0 5 if (is_infinite($level))
280 0 5 if ($m < 2)
283 0 5 if ($m < 4)
299 0 0 if $m < 0
309 0 0 if $k1 < $offset
313 0 0 if ($k1 > $k)
340 14 2511 if ($n)
417 0 0 unless my($a, $b) = $self->_UNDOCUMENTED_level_to_hull_boundary_sqrt2($level)
423 0 0 if ($level <= 2)
424 0 0 if ($level < 0)
425 0 0 if ($level == 2)
426 0 0 $level == 0 ? :
432 0 0 if ($rem) { }
454 0 0 if ($level < 3)
455 0 0 if ($level < 0)
459 0 0 $rem ? :
495 0 0 if ($n < 0)
496 0 0 if (is_infinite($n))