Branch Coverage

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


line true false branch
10 0 0 if @_
11 0 0 if @_
12 0 0 if @_
13 0 0 if @_
15 0 0 if @_
188 0 0 if ($col =~ /^rgb\((.+?),(.+?),(.+?)\)$/u) { }
0 0 elsif ($col =~ /^rgba\((.+?),(.+?),(.+?),(.+?)\)$/u) { }
0 0 elsif ($col =~ /^\#([a-f0-9]+)$/u) { }
0 0 elsif (defined $colours{$col}) { }
0 0 elsif ($col =~ /^url\(/u) { }
195 0 0 if (length $1 == 6 or length $1 == 8) { }
0 0 elsif (length $1 == 3 or length $1 == 4) { }
200 0 0 if length $1 == 8
207 0 0 if length $1 == 4
222 0 0 if (/^(\d+(?:\.\d+)?)\%$/u) { }
0 0 elsif (/^\d+$/u) { }
240 0 0 if $_ >= 0 and $_ <= 255