Branch Coverage

lib/Graphics/Toolkit/Color/Space/Instance/OKHSL.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
17 1 14 if $hsl->[2] <= 0
18 0 14 if $hsl->[2] >= 1
26 5 9 if ($hsl->[1] < $mid) { }
31 0 5 if $den < "1e-06" and $den >= 0
32 0 5 if $den > "-1e-06" and $den < 0
41 0 9 if $den < "1e-06" and $den >= 0
42 0 9 if $den > "-1e-06" and $den < 0
53 1 16 if $C < "1e-09"
60 2 14 if ($C < $C_mid) { }