blib/lib/Convert/Color/HSV.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 24 | 62.5 |
line | true | false | branch |
---|---|---|---|
88 | 4 | 19 | if (@_ == 1) { } |
19 | 0 | elsif (@_ == 3) { } | |
90 | 4 | 0 | if (/^(\d+(?:\.\d+)?),(\d+(?:\.\d+)?),(\d+(?:\.\d+)?)$/u) { } |
106 | 0 | 46 | if $_ < 0 |
107 | 0 | 46 | if $_ > 1 |
194 | 3 | 2 | if ($hi == 0) { } |
0 | 2 | elsif ($hi == 1) { } | |
1 | 1 | elsif ($hi == 2) { } | |
0 | 1 | elsif ($hi == 3) { } | |
1 | 0 | elsif ($hi == 4) { } | |
0 | 0 | elsif ($hi == 5) { } | |
223 | 1 | 4 | $max == 0 ? : |