blib/lib/VRML/Color.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 24 | 20.8 |
line | true | false | branch |
---|---|---|---|
32 | 0 | 12 | unless $string |
36 | 0 | 12 | if (defined $colorspace) { } |
41 | 12 | 0 | if ($value) { } |
46 | 0 | 0 | if ($string =~ /(\d*[\.\d]+)\s+(\d*[\.\d]+)\s+(\d*[\.\d]+)/) { } |
0 | 0 | elsif ($string =~ /^([A-Fa-f0-9]{6}?)/) { } | |
50 | 0 | 0 | if ($r > 1 or $g > 1 or $b > 1) |
55 | 0 | 0 | if wantarray |
61 | 0 | 0 | if wantarray |
64 | 0 | 0 | if wantarray |
68 | 0 | 12 | if (defined $intensity) |
69 | 0 | 0 | if ($key eq 'gray' | $key eq 'grey') { } |
79 | 12 | 0 | if wantarray |