Branch Coverage

blib/lib/Math/PlanePath/CCurve.pm
Criterion Covered Total %
branch 35 70 50.0


line true false branch
82 1 1424 if ($n < 0)
83 0 1424 if (is_infinite($n))
101 1189 4953 if ($digit == 0) { }
1658 3295 elsif ($digit == 1) { }
1643 1652 elsif ($digit == 2) { }
117 222 1202 if ($rot & 2)
121 950 474 if ($rot & 1)
157 0 113 if (is_infinite($x))
158 0 113 if (is_infinite($y))
172 485 910 if ($bit)
205 286 166 unless ($ds == 1 and $dd == -1)
207 88 78 if ($s == $ds and $d == $dd) { }
74 4 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 1 4 if ($m < 2)
283 1 3 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 13 2514 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))