Branch Coverage

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


line true false branch
75 0 0 unless $CTRL_PT_TOLERANCE > 1.5
93 0 0 if abs $v01x < 0.0001 and abs $v02x < 0.0001 and abs $v03x < 0.0001 and abs $v01y < 0.0001 and abs $v02y < 0.0001 and abs $v03y < 0.0001
97 0 0 if (abs $v01x < 0.0001 and abs $v32x < 0.0001 and abs $v01y < 0.0001 and abs $v32y < 0.0001)
105 0 0 if ($n == 0)
106 0 0 if ($v02x * $v32y - $v02y * $v32x == 0) { }
117 0 0 if ($m1 / $n < 1 or $m2 / $n < 1 or $m1 / $n > $CTRL_PT_TOLERANCE or $m2 / $n > $CTRL_PT_TOLERANCE)
125 0 0 if (defined $cx and _q_c_check($p0x, $p0y, $p1x, $p1y, $p2x, $p2y, $p3x, $p3y, $cx, $cy)) { }
127 0 0 if $sep >= 1
136 0 0 unless (@qp1)
143 0 0 if (@cp1)
157 0 0 if $a == 0 or $b == 0 or $a != $b
164 0 0 if $d < 0
166 0 0 if ($a != 0) { }
168 0 0 if $sep <= 0 or $sep >= 1
169 0 0 if $sep <= 0 or $sep >= 1
208 0 0 if ($p30x - $cx) * ($p30x - $cx) + ($p30y - $cy) * ($p30y - $cy) < $APPROX_LINE_TOLERANCE
230 0 0 if ($p20x - $cx) * ($p20x - $cx) + ($p20y - $cy) * ($p20y - $cy) < $APPROX_LINE_TOLERANCE