Branch Coverage

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


line true false branch
13 0 0 if $atts->{'omit'}
22 0 0 if $color and $color eq "currentColor"
33 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'} ? :
42 0 0 if ($x =~ /,/u) { }
43 0 0 if (@c > 1 or ref $c[0] ne "SVGPDF::TextElement")
49 0 0 unless @$x == @$y and @$y == @$text
65 0 0 if ($tf)
66 0 0 if $tf =~ /translate\((.*?)\)/u
68 0 0 if $tf =~ /scale\((.*?)\)/u
76 0 0 if (@$x > 1) { }
78 0 0 if ($tf)
86 0 0 $scalex != 1 || $scaley != -1 ? :
93 0 0 $scalex != 1 || $scaley != -1 ? :
98 0 0 $anchor eq 'middle' ? :
0 0 $anchor eq 'end' ? :
110 0 0 if ($tf)
118 0 0 $scalex != 1 || $scaley != -1 ? :
123 0 0 $anchor eq 'middle' ? :
0 0 $anchor eq 'end' ? :
129 0 0 if (ref $c eq 'SVGPDF::TextElement') { }
0 0 elsif (ref $c eq 'SVGPDF::Tspan') { }
132 0 0 $scalex != 1 || $scaley != -1 ? :
139 0 0 if ($tc) { }
148 0 0 if ($style->{'outline-style'})
168 0 0 if (defined $c->atts->{'x'})
171 0 0 if (defined $c->atts->{'y'})
174 0 0 $scalex != 1 || $scaley != -1 ? :