Branch Coverage

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


line true false branch
10 0 0 if @_
11 0 0 if @_
13 0 0 if @_
15 0 0 if @_
49 0 0 unless (/^\s*([^{]+?)\s*\{(.*)\}\s*$/u)
64 0 0 if ($_ eq "\@font-face")
73 0 0 unless (/^\s*(\*?[\w._-]+)\s*:\s*(.*?)\s*$/u)
82 0 0 if ($s eq 'font') { }
0 0 elsif ($s eq 'outline') { }
88 0 0 if ($spec =~ /^([.\d]+)px/u) { }
0 0 elsif ($spec eq 'bold') { }
0 0 elsif ($spec eq 'italic') { }
0 0 elsif ($spec eq 'bolditalic') { }
0 0 elsif ($spec =~ /^(?:text,)?serif$/iu) { }
0 0 elsif ($spec =~ /^(?:text,)?sans(?:-serif)?$/iu) { }
0 0 elsif ($spec =~ /^abc2svg(?:\.ttf)?$/iu) { }
0 0 elsif (lc($spec) =~ /^musejazz\s*text$/iu) { }
121 0 0 if keys %s > 1
131 0 0 if ($spec =~ /^([.\d]+)px/u) { }
0 0 elsif ($spec =~ /^(dotted|dashed|solid|double|groove|ridge|inset|outset)$/iu) { }
143 0 0 if keys %s > 1
156 0 0 if ($k =~ /^\@font-face/u)
164 0 0 unless $k =~ /^(\S+)\s+(\S+)$/u
175 0 0 unless defined $right
176 0 0 if (ref $left eq "HASH" and ref $right eq "HASH")
178 0 0 if (exists $left->{$_} and ref $left->{$_} eq 'HASH' and ref $right->{$_} eq 'HASH') { }
195 0 0 if (exists $css->{'_'})
203 0 0 ref $args[0] eq 'HASH' ? :
213 0 0 if (exists $css->{'_'})
219 0 0 if /^element|class|style|id$/u
224 0 0 if ($args->{'element'} and exists $$css{$args->{'element'}})
227 0 0 if ($args->{'element'} and exists $css->{'_'}{" " . $args->{'element'}})
232 0 0 if ($args->{'class'})
234 0 0 unless exists $$css{".$_"}
240 0 0 if ($args->{'id'} and exists $$css{"#" . $args->{'id'}})
245 0 0 if ($args->{'style'})
246 0 0 unless $self->read_string("__ {" . $args->{'style'} . "}")
251 0 0 if $ffam
258 0 0 unless @stack