Branch Coverage

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


line true false branch
120 0 0 if @_
124 0 0 if @_
125 0 0 if @_
128 0 0 if @_
0 0 if @_
131 0 0 if @_
133 0 0 if @_
134 0 0 if @_
137 0 0 if @_
138 0 0 if @_
143 0 0 if @_
0 0 if @_
144 0 0 if @_
145 0 0 if @_
146 0 0 if @_
147 0 0 if @_
148 0 0 if @_
149 0 0 if @_
191 0 0 if @args % 2
271 0 0 if ($options{'reset'})
276 0 0 if $options{'fontsize'}
284 0 0 unless $tree
296 0 0 if ($combine ne "none" and @$xoforms > 1)
307 0 0 unless $debug
309 0 0 if ($args[0] =~ /\%/u) { }
315 0 0 if ($msg =~ /^\+\s*(.*)/u) { }
0 0 elsif ($msg =~ /^\-\s*(.*)/u) { }
0 0 elsif ($msg =~ /^\^\s*(.*)/u) { }
317 0 0 if $1
320 0 0 if $1
321 0 0 if length $indent < 2
326 0 0 if $1
329 0 0 if $msg
339 0 0 if $_->{'type'} eq "t"
341 0 0 if ($name eq 'svg') { }
348 0 0 unless $name eq "<>"
359 0 0 if ($prog) { }
378 0 0 unless ref $_ eq "SVGPDF::Style"
380 0 0 unless scalar $_->get_children == 1
382 0 0 unless ref $t eq "SVGPDF::TextElement"
387 0 0 if ($cdata =~ /\S/u)
416 0 0 if $minw
421 0 0 if $valign
429 0 0 if ($vbox) { }
437 0 0 if ($minw and $minw > $width)
443 0 0 if ($valign)
447 0 0 unless $va eq $vb
450 0 0 if ($vwidth and not $vheight)
453 0 0 if ($vheight and not $vwidth)
465 0 0 if ($minw and $minw > $width)
466 0 0 if $minw > $width
471 0 0 if ($valign)
479 0 0 if $vheight and $width / $height / ($vwidth / $vheight) > 1.05 || $width / $height / ($vwidth / $vheight) < 0.95
487 0 0 if $verbose and not $debug
491 0 0 if (my $c = $style->{'background-color'})
492 0 0 if ($c ne "none")
515 0 0 if $valign
522 0 0 if ($debug)
538 0 0 if $grid
543 0 0 if $_ eq "none" or $_ eq "transparent"
544 0 0 $_ eq 'currentColor' ? :
547 0 0 $_ eq 'currentColor' ? :
550 0 0 if $_ eq "none" or $_ eq "transparent"
551 0 0 $_ eq 'currentColor' ? :
554 0 0 $_ eq 'currentColor' ? :
563 0 0 $a < $b ? :
564 0 0 $a > $b ? :
568 0 0 if $type eq "none"
576 0 0 if ($type eq 'bbox') { }
577 0 0 if $verbose
592 0 0 if $verbose
597 0 0 if (defined $xmax) { }
598 0 0 if $w > $xmax
608 0 0 if $verbose
629 0 0 if ref $vb[0] eq "ARRAY"
633 0 0 wantarray ? :
638 0 0 if ref $vb[0] eq "ARRAY"
642 0 0 wantarray ? :
646 0 0 $grid >= 5 ? :