Branch Coverage

lib/ChordPro/lib/SVGPDF/Text.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
13 0 0 if $atts->{'omit'}
22 0 0 if $color and $color eq "currentColor"
32 0 0 defined $atts->{'x'} ? :
0 0 defined $atts->{'y'} ? :
0 0 defined $atts->{'dx'} ? :
0 0 defined $atts->{'dy'} ? :
0 0 defined $style->{'text-anchor'} ? :
0 0 defined $style->{'transform'} ? :
41 0 0 if ($x =~ /,/u) { }
42 0 0 if (@c > 1 or ref $c[0] ne "SVGPDF::TextElement")
48 0 0 unless @$x == @$y and @$y == @$text
64 0 0 if ($tf)
65 0 0 if $tf =~ /translate\((.*?)\)/u
67 0 0 if $tf =~ /scale\((.*?)\)/u
75 0 0 if ($color)
79 0 0 if (@$x > 1) { }
81 0 0 if ($tf)
89 0 0 $scalex != 1 || $scaley != -1 ? :
96 0 0 $scalex != 1 || $scaley != -1 ? :
101 0 0 $anchor eq 'middle' ? :
0 0 $anchor eq 'end' ? :
113 0 0 if ($tf)
121 0 0 $scalex != 1 || $scaley != -1 ? :
126 0 0 $anchor eq 'middle' ? :
0 0 $anchor eq 'end' ? :
132 0 0 if (ref $c eq 'SVGPDF::TextElement') { }
0 0 elsif (ref $c eq 'SVGPDF::Tspan') { }
135 0 0 $scalex != 1 || $scaley != -1 ? :
142 0 0 if ($tc) { }
151 0 0 if ($style->{'outline-style'})
171 0 0 if (defined $c->atts->{'x'})
174 0 0 if (defined $c->atts->{'y'})
177 0 0 $scalex != 1 || $scaley != -1 ? :