Branch Coverage

blib/lib/Chart/Gnuplot/Util.pm
Criterion Covered Total %
branch 19 44 43.1


line true false branch
17 6 1 if $type =~ /^\d+$/
43 2 2 if $type =~ /^\d+$/
81 0 1 if $side =~ /^\d+$/
84 1 0 if $side =~ /(^|,)\s*(1|bottom|bottom left front)\s*(,|$)/
85 1 0 if $side =~ /(^|,)\s*(2|left|bottom left back)\s*(,|$)/
86 0 1 if $side =~ /(^|,)\s*(4|top|bottom right front)\s*(,|$)/
87 0 1 if $side =~ /(^|,)\s*(8|right|bottom right back)\s*(,|$)/
88 0 1 if $side =~ /(^|,)\s*(16|left vertical)\s*(,|$)/
89 0 1 if $side =~ /(^|,)\s*(32|back vertical)\s*(,|$)/
90 0 1 if $side =~ /(^|,)\s*(64|right vertical)\s*(,|$)/
91 0 1 if $side =~ /(^|,)\s*(128|front vertical)\s*(,|$)/
92 0 1 if $side =~ /(^|,)\s*(256|top left back)\s*(,|$)/
93 0 1 if $side =~ /(^|,)\s*(512|top right back)\s*(,|$)/
94 0 1 if $side =~ /(^|,)\s*(1024|top left front)\s*(,|$)/
95 0 1 if $side =~ /(^|,)\s*(2048|top right front)\s*(,|$)/
106 0 0 if (ref $fill eq 'HASH')
109 0 0 if (defined $$fill{'pattern'}) { }
111 0 0 if defined $$fill{'alpha'} and $$fill{'alpha'} == 0
117 0 0 if (defined $$fill{'alpha'}) { }
0 0 elsif (defined $$fill{'density'}) { }
131 0 0 if defined $$fill{'border'} and $$fill{'border'} =~ /^(off|no)$/
147 2 2 unless defined $num