Branch Coverage

blib/lib/Convert/Color/HSL.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
91 4 19 if (@_ == 1) { }
19 0 elsif (@_ == 3) { }
93 4 0 if (/^(\d+(?:\.\d+)?),(\d+(?:\.\d+)?),(\d+(?:\.\d+)?)$/u) { }
109 0 46 if $_ < 0
110 0 46 if $_ > 1
161 3 27 if ($l > 0.5) { }
196 1 4 $l < 0.5 ? :
214 0 6 $_ < 4 ? :
5 6 $_ < 3 ? :
4 11 $_ < 1 ? :
230 3 0 $l <= 0.5 ? :
2 3 $min == $max ? :