Branch Coverage

blib/lib/Math/Bezier/Convert.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
73 0 0 unless $CTRL_PT_TOLERANCE > 1.5
95 0 0 if abs $v01x < 0.01 and abs $v02x < 0.01 and abs $v03x < 0.01 and abs $v01y < 0.01 and abs $v02y < 0.01 and abs $v03y < 0.01
98 0 0 if (abs $v01x < 0.01 and abs $v01y < 0.01)
99 0 0 if ($revf) { }
103 0 0 if (abs $v32x < 0.01 and abs $v32y < 0.01)
121 0 0 if ($vp14 == 0) { }
123 0 0 if ($vp12) { }
138 0 0 if $d_x < 0 or $d_y < 0
140 0 0 if ($deltax == 0 and $betax == 0 and $alphax == 0) { }
147 0 0 if $u1 > $u2
148 0 0 if ($u1 > 0 and $u1 < 1)
152 0 0 if ($u2 > 0 and $u2 < 1)
160 0 0 if ($n <= 0 or $n > $CTRL_PT_TOLERANCE or $vp13 / $vp14 <= 0 or $vp13 / $vp14 > $CTRL_PT_TOLERANCE) { }
168 0 0 if (defined $cx and _q_c_check($p0x, $p0y, $p1x, $p1y, $p2x, $p2y, $p3x, $p3y, $cx, $cy)) { }
170 0 0 if $sep >= 1
184 0 0 if (@cp1)
188 0 0 unless (@qp2)
192 0 0 if ($revf) { }
216 0 0 if $a == 0 or $b == 0 or $a != $b
223 0 0 if $d < 0
225 0 0 if ($a != 0) { }
227 0 0 if $sep <= 0 or $sep >= 1
228 0 0 if $sep <= 0 or $sep >= 1
267 0 0 if (($p30x - $cx) * ($p30x - $cx) + ($p30y - $cy) * ($p30y - $cy) < $APPROX_LINE_TOLERANCE)
270 0 0 if ($pp30x - $c0x) * ($pp30x - $c0x) + ($pp30y - $c0y) * ($pp30y - $c0y) < $APPROX_LINE_TOLERANCE
293 0 0 if ($p20x - $cx) * ($p20x - $cx) + ($p20y - $cy) * ($p20y - $cy) < $APPROX_LINE_TOLERANCE