Branch Coverage

blib/lib/Math/Geometry/Planar/Offset.pm
Criterion Covered Total %
branch 0 106 0.0


line true false branch
160 0 0 if ($offset_depth > 100)
167 0 0 if $Math::Geometry::Planar::Offset::debug
168 0 0 if $Math::Geometry::Planar::Offset::debug
174 0 0 if $Math::Geometry::Planar::Offset::debug
175 0 0 if $Math::Geometry::Planar::Offset::debug
178 0 0 if ($npoints < 3)
192 0 0 if ($canvas)
231 0 0 if ($delAx) { }
245 0 0 if ($delBx) { }
251 0 0 if ($Am == $Bm or $Am eq $Bm)
255 0 0 unless (do_cross($Ax1, $Ay1, $Ax2, $Ay2, $Bx1, $By1, $Bx2, $By2))
260 0 0 if ($npoints < 4)
261 0 0 if $Math::Geometry::Planar::Offset::debug
264 0 0 if ($Am eq 'inf') { }
0 0 elsif ($Bm eq 'inf') { }
282 0 0 if (abs $time < $first_time)
304 0 0 if ($npoints > 3)
310 0 0 if $Math::Geometry::Planar::Offset::debug
311 0 0 if $Math::Geometry::Planar::Offset::debug
317 0 0 if ($delAx) { }
322 0 0 if ($n2 == $n or $n2 == $n - 1 or $n == 0 and $n2 == $npoints - 1)
325 0 0 if $Math::Geometry::Planar::Offset::debug
332 0 0 if ($delBx) { }
338 0 0 if ($Am == $Bm or $Am eq $Bm)
345 0 0 if ($Am eq 'inf') { }
0 0 elsif ($Bm eq 'inf') { }
361 0 0 if ($next == $npoints)
382 0 0 if $Math::Geometry::Planar::Offset::debug
383 0 0 if $Math::Geometry::Planar::Offset::debug
384 0 0 if ($int_scale) { }
386 0 0 if ($bis_scale[$n] + $int_scale) { }
406 0 0 unless (do_cross($Ax1, $Ay1, $Ax2, $Ay2, $Bx1, $By1, $Bx2, $By2))
413 0 0 if (abs $time < $first_time and $time == $time_dir * abs($time))
432 0 0 if ($first_time <= abs $offset) { }
433 0 0 if ($Math::Geometry::Planar::Offset::debug)
434 0 0 if ($first_event eq 'join')
437 0 0 if ($first_event eq 'split')
447 0 0 if ($first_event eq 'join') { }
0 0 elsif ($first_event eq 'split') { }
458 0 0 if ($bis_scale[$first_join] < $bis_scale[$first_join + 1]) { }
492 0 0 if ($split_seg < $first_split) { }
515 0 0 if ($Math::Geometry::Planar::Offset::debug)
530 0 0 if ($num > 2) { }
536 0 0 if $Math::Geometry::Planar::Offset::debug
538 0 0 if ($num1 > 2) { }
544 0 0 if $Math::Geometry::Planar::Offset::debug
574 0 0 if $n == @{$coords;}
591 0 0 if (abs $delAx < $delta and abs $delAy < $delta or abs $delBx < $delta and abs $delBy < $delta)
599 0 0 if ($theta_AB < -pi()) { }
0 0 elsif ($theta_AB > pi()) { }
605 0 0 if (abs $theta_AB - pi() < $delta)
607 0 0 if $n
625 0 0 if ($det_123 * $det_124 > 0 or $det_341 * $det_342 > 0) { }