Branch Coverage

blib/lib/Math/PlanePath/CCurve.pm
Criterion Covered Total %
branch 33 70 47.1


line true false branch
82 1 1424 if ($n < 0)
83 0 1424 if (is_infinite($n))
101 1194 4975 if ($digit == 0) { }
1672 3303 elsif ($digit == 1) { }
1654 1649 elsif ($digit == 2) { }
117 224 1200 if ($rot & 2)
121 957 467 if ($rot & 1)
157 0 113 if (is_infinite($x))
158 0 113 if (is_infinite($y))
172 510 916 if ($bit)
205 288 164 unless ($ds == 1 and $dd == -1)
207 86 78 if ($s == $ds and $d == $dd) { }
75 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)
333 3 2527 if ($n < 0)
334 0 2527 if (is_infinite($n))
343 8 2519 if ($n)
420 0 0 unless my($a, $b) = $self->_UNDOCUMENTED_level_to_hull_boundary_sqrt2($level)
426 0 0 if ($level <= 2)
427 0 0 if ($level < 0)
428 0 0 if ($level == 2)
429 0 0 $level == 0 ? :
435 0 0 if ($rem) { }
457 0 0 if ($level < 3)
458 0 0 if ($level < 0)
462 0 0 $rem ? :
498 0 0 if ($n < 0)
499 0 0 if (is_infinite($n))