Condition Coverage

blib/lib/Color/RGB/Util.pm
Criterion Covered Total %
condition 26 53 49.0


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'
451 0 2 7 $h >= 0 and $h <= 360
0 0 9 $s >= 0 and $s <= 1
0 0 9 $l >= 0 and $l <= 1
468 0 1 4 $h >= 0 and $h <= 360
0 0 5 $s >= 0 and $s <= 1
0 0 5 $v >= 0 and $v <= 1
487 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 88 $rgb1 //= '000000'
140 0 88 $rgb2 //= 'ffffff'
154 1 30 shift() // 1
156 0 31 $opts->{'max_attempts'} // 1000
247 44 0 $algo //= 'euclidean'
330 4 1 $pct //= 0.5

or 3 conditions

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