Branch Coverage

blib/lib/Chart/Colors.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
109 5 0 unless $type
111 3 2 unless $this->{'rgbno'} % 2
113 0 5 if $type eq 'hsv'
116 0 5 if $type eq 'hex'
117 0 5 if $type eq 'rgb'
125 1 2 $this->{'base'} == 1 ? :
127 2 1 if ($this->{'num'} > $this->{'base'})
139 0 5 unless $s
147 2 3 if $i == 0
148 1 2 if $i == 1
149 0 2 if $i == 2
150 2 0 if $i == 3
151 0 0 if $i == 4