| lib/Graphics/Toolkit/Color/Space/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 22 | 86.3 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 0 | 266 | unless defined $_ |
| 53 | 213 | if $v > $_ | |
| 20 | 0 | 351 | unless defined $_ |
| 78 | 273 | if $v < $_ | |
| 25 | 1 | 570 | unless @_ |
| 34 | 4026 | 195 | $_[0] >= 0 ? : |
| 40 | 2420 | 1793 | unless defined $precision and $precision |
| 46 | 3 | 101 | unless defined $_[1] and $_[1] |
| 52 | 1638 | 23 | if $base >= 0 |
| 59 | 15170 | 23 | $_[0] =~ /$number_re/u ? : |
| 64 | 0 | 837 | unless ref $mat eq "ARRAY" and defined $v3 |