Branch Coverage

blib/lib/SVGPDF/Contrib/Bogen.pm
Criterion Covered Total %
branch 70 102 68.6


line true false branch
114 11 0 if (defined $opts{'move'})
115 11 0 if (defined $opts{'large'})
116 11 0 if (defined $opts{'dir'})
117 11 0 if (defined $opts{'rotate'})
126 0 11 if ($x1 == $x2 and $y1 == $y2)
138 2 9 if ($larc) { }
139 9 2 if ($dir) { }
151 0 11 if ($rx < 0)
152 0 11 if ($ry < 0)
155 0 11 unless ($rx and $ry)
183 6 5 if ($lambda > 1)
194 2 9 if $d < 0 and $d > "-1e-10"
195 0 11 if ($d < 0)
202 2 9 if $larc == $dir
215 0 11 if ($ulen == 0)
224 0 11 if $cosTheta1 < -1
225 0 11 if $cosTheta1 > 1
229 8 3 if $uy < 0
235 0 11 if ($vlen == 0)
245 1 10 if $k < -1
246 0 11 if $k > 1
248 2 9 if $ux * $vy - $uy * $vx < 0
259 0 11 if (defined $opts{'full'})
278 0 11 if $move
305 5 6 if ($rotate)
329 0 93 if (scalar @points == 0) { }
357 6 276 unless (defined $rot)
358 0 282 unless (defined $dir)
360 0 282 if ($rx <= 0 or $ry <= 0)
364 0 282 if ($alpha == $beta)
377 7 275 if (not $dir and $alpha > $beta)
378 0 7 if ($alpha == 360.0 and $beta == 0.0) { }
0 7 elsif ($alpha == 360.0) { }
1 6 elsif ($beta == 0.0) { }
391 2 273 if ($dir and $alpha < $beta)
392 0 2 if ($alpha == 0.0 and $beta == 360.0) { }
0 2 elsif ($alpha == 0.0) { }
0 2 elsif ($beta == 360.0) { }
408 124 149 if (abs $beta - $alpha > 30) { }
497 0 6 if ($x1 == $x2 and $y1 == $y2)
500 0 6 if ($r <= 0)
503 0 6 unless defined $move
504 0 6 unless defined $larc
505 0 6 unless defined $spf
511 1 5 if $dx < 0
517 2 4 if $spf
521 1 5 if ($z > $d)
528 3 3 if $larc
535 2 4 if ($spf)
550 0 6 if $move
558 0 56 if (scalar @points == 0) { }