Branch Coverage

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


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