Condition Coverage

blib/lib/Color/RGB/Util.pm
Criterion Covered Total %
condition 30 55 54.5


and 3 conditions

line !l l&&!r l&&r condition
176 35 0 0 $avoid_colors and ref $avoid_colors eq 'ARRAY'
179 35 0 0 $avoid_colors and ref $avoid_colors eq 'HASH'
460 0 2 7 $h >= 0 and $h <= 360
0 0 9 $s >= 0 and $s <= 1
0 0 9 $l >= 0 and $l <= 1
477 0 1 4 $h >= 0 and $h <= 360
0 0 5 $s >= 0 and $s <= 1
0 0 5 $v >= 0 and $v <= 1
496 0 1 7 $h >= 0 and $h <= 360
0 0 8 $s >= 0 and $s <= 1
0 0 8 $v >= 0 and $v <= 1

or 2 conditions

line l !l condition
93 4 5 $pct //= 0.5
137 0 104 $rgb1 //= '000000'
140 0 104 $rgb2 //= 'ffffff'
154 1 30 shift() // 1
156 0 31 $opts->{'max_attempts'} // 1000
215 2 1 $algo //= 'average'
254 45 0 $algo //= 'euclidean'
339 4 1 $pct //= 0.5

or 3 conditions

line l !l&&r !l&&!r condition
266 3 41 1 $algo eq 'approx1' or $algo eq 'approx2'
0 0 1 $algo eq 'hsv_euclidean' or $algo eq 'hsv_hue1'