Branch Coverage

blib/lib/Term/ANSIColor/Gradients/Utils.pm
Criterion Covered Total %
branch 22 40 55.0


line true false branch
56 0 3 if $g > $max
57 3 0 if $b > $max
60 0 3 if $g < $min
61 0 3 if $b < $min
65 3 0 $max > 0 ? :
68 3 0 if ($delta > 0)
70 0 3 if ($max == $r) { }
0 3 elsif ($max == $g) { }
74 0 3 if $h < 0
86 0 3 if ($s == 0)
100 0 3 if ($i == 0) { }
1 2 elsif ($i == 1) { }
0 2 elsif ($i == 2) { }
0 2 elsif ($i == 3) { }
2 0 elsif ($i == 4) { }
124 10 758 if ($d < $best_dist)
144 0 1 if ($s < "0.15")
147 0 0 $lum < 128 ? :
170 0 2 if $v < 0
171 1 1 if $v > 1