| lib/Graphics/Toolkit/Color/Space/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 22 | 86.3 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 0 | 200 | unless defined $_ |
| 28 | 172 | if $v > $_ | |
| 20 | 0 | 219 | unless defined $_ |
| 39 | 180 | if $v < $_ | |
| 25 | 1 | 561 | unless @_ |
| 34 | 3782 | 95 | $_[0] >= 0 ? : |
| 40 | 2600 | 1269 | unless defined $precision and $precision |
| 46 | 3 | 102 | unless defined $_[1] and $_[1] |
| 52 | 273 | 23 | if $base >= 0 |
| 59 | 5494 | 18 | $_[0] =~ /$number_re/u ? : |
| 64 | 0 | 162 | unless ref $mat eq "ARRAY" and defined $v3 |