Branch Coverage

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


line true false branch
110 0 0 if @_
114 0 0 if @_
115 0 0 if @_
118 0 0 if @_
0 0 if @_
121 0 0 if @_
123 0 0 if @_
124 0 0 if @_
127 0 0 if @_
128 0 0 if @_
133 0 0 if @_
0 0 if @_
134 0 0 if @_
135 0 0 if @_
136 0 0 if @_
137 0 0 if @_
138 0 0 if @_
139 0 0 if @_
180 0 0 if @args % 2
239 0 0 if ($options{'reset'})
244 0 0 if $options{'fontsize'}
252 0 0 unless $tree
268 0 0 unless $debug
270 0 0 if ($args[0] =~ /\%/u) { }
276 0 0 if ($msg =~ /^\+\s*(.*)/u) { }
0 0 elsif ($msg =~ /^\-\s*(.*)/u) { }
0 0 elsif ($msg =~ /^\^\s*(.*)/u) { }
278 0 0 if $1
281 0 0 if $1
282 0 0 if length $indent < 2
287 0 0 if $1
290 0 0 if $msg
300 0 0 if $_->{'type'} eq "t"
302 0 0 if ($name eq 'svg') { }
309 0 0 unless $name eq "<>"
320 0 0 if ($prog) { }
339 0 0 unless ref $_ eq "SVGPDF::Style"
341 0 0 unless scalar $_->get_children == 1
343 0 0 unless ref $t eq "SVGPDF::TextElement"
348 0 0 if ($cdata =~ /\S/u)
377 0 0 if $minw
382 0 0 if $valign
390 0 0 if ($vbox) { }
398 0 0 if ($minw and $minw > $width)
404 0 0 if ($valign)
408 0 0 unless $va eq $vb
411 0 0 if ($vwidth and not $vheight)
414 0 0 if ($vheight and not $vwidth)
426 0 0 if ($minw and $minw > $width)
427 0 0 if $minw > $width
432 0 0 if ($valign)
440 0 0 if $vheight and $width / $height / ($vwidth / $vheight) > 1.05 || $width / $height / ($vwidth / $vheight) < 0.95
448 0 0 if $verbose and not $debug
452 0 0 if (my $c = $style->{'background-color'})
474 0 0 if $valign
481 0 0 if ($debug)
497 0 0 if $grid
502 0 0 if $_ eq "none" or $_ eq "transparent"
503 0 0 $_ eq 'currentColor' ? :
506 0 0 $_ eq 'currentColor' ? :
509 0 0 if $_ eq "none" or $_ eq "transparent"
510 0 0 $_ eq 'currentColor' ? :
513 0 0 $_ eq 'currentColor' ? :
526 0 0 if ref $vb[0] eq "ARRAY"
530 0 0 wantarray ? :
535 0 0 if ref $vb[0] eq "ARRAY"
539 0 0 wantarray ? :
543 0 0 $grid >= 5 ? :