blib/lib/Convert/Color/X11.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 18 | 16.6 |
line | true | false | branch |
---|---|---|---|
59 | 4 | 0 | unless -f $_ |
61 | 0 | 0 | unless open $rgbtxt, "<", $_ |
65 | 1 | 0 | unless $rgbtxt |
71 | 0 | 0 | if /^!/u |
73 | 0 | 0 | unless my($r, $g, $b, $name) = /^(\d+)\s+(\d+)\s+(\d+)\s+(.*)$/u |
102 | 1 | 0 | unless $x11_colors |
130 | 0 | 0 | if (@_ == 1) { } |
133 | 0 | 0 | unless $x11_colors |
135 | 0 | 0 | unless my $color = $x11_colors->{$name} |