line |
true |
false |
branch |
15
|
0 |
54 |
if (@_ == 2) |
21
|
27 |
27 |
if (@_ == 1) |
23
|
27 |
0 |
if ($rgba =~ /^ # [:xdigit:]{6} ([:xdigit:]{2})? $
/x) |
26
|
0 |
27 |
unless defined $a |
32
|
0 |
27 |
if (@_ == 3) |
33
|
0 |
0 |
@_ ? : |
36
|
27 |
0 |
if (@_ == 4) |
37
|
108 |
0 |
defined $_ ? : |
38
|
27 |
0 |
if (any sub {
$_ > 1;
}
, @colors) |
56
|
0 |
0 |
unless defined $spec |
57
|
0 |
0 |
if blessed $spec and $spec->isa('VS::Chart::Color') |
58
|
0 |
0 |
if ref $spec eq 'ARRAY' |
59
|
0 |
0 |
if $spec eq '1' |
60
|
0 |
0 |
if $spec =~ /^\w+$/ |
66
|
0 |
0 |
if $@ |
112
|
0 |
2 |
if blessed $name and $name->isa('VS::Chart::Color') |
113
|
2 |
0 |
if exists $Colors{$name} |