Branch Coverage

blib/lib/SVGPDF/Path.pm
Criterion Covered Total %
branch 34 42 80.9


line true false branch
15 0 36 if $atts->{'omit'}
17 2 34 if (defined $atts->{'id'})
24 0 2 if ($atts->{'id'} =~ /^MJX-/u)
32 32 4 if length $t > 20
33 0 36 $tf ? :
34 0 36 unless $d
70 36 75 unless $open++ or $op eq "Z"
72 0 111 if 0 & ($x || $y || $ix || $iy)
77 38 73 if ($op eq 'M') { }
1 72 elsif ($op eq 'H') { }
1 71 elsif ($op eq 'V') { }
28 43 elsif ($op eq 'L') { }
11 32 elsif ($op eq 'C') { }
10 22 elsif ($op eq 'Q') { }
17 5 elsif ($op eq 'A') { }
5 0 elsif ($op eq 'Z') { }
156 6 11 if ($rx == $ry) { }
185 5 0 if ($open)
192 0 5 if (@d and $d[0]{'svg_key'} eq 'M') { }
205 106 5 unless $op eq "Z"
208 31 5 if $open