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
175 35 0 0 $avoid_colors and ref $avoid_colors eq 'ARRAY'
178 35 0 0 $avoid_colors and ref $avoid_colors eq 'HASH'
450 0 2 7 $h >= 0 and $h <= 360
0 0 9 $s >= 0 and $s <= 1
0 0 9 $l >= 0 and $l <= 1
467 0 1 4 $h >= 0 and $h <= 360
0 0 5 $s >= 0 and $s <= 1
0 0 5 $v >= 0 and $v <= 1
486 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 86 $rgb1 //= '000000'
140 0 86 $rgb2 //= 'ffffff'
154 1 30 shift() // 1
156 0 31 $opts->{'max_attempts'} // 1000
246 44 0 $algo //= 'euclidean'
329 4 1 $pct //= 0.5

or 3 conditions

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