line |
true |
false |
branch |
15
|
1 |
1 |
exists $self->{'is_custom'} ? : |
27
|
3 |
9 |
unless exists $self->{'sgr_colors'}{$color_type} |
51
|
2 |
261 |
unless $theme->_load_theme($params{'ddp'}) |
59
|
0 |
13 |
unless $colors_to_override and ref $colors_to_override eq 'HASH' and keys %$colors_to_override |
66
|
1 |
16 |
if ref $override |
68
|
6 |
10 |
if (defined $parsed) |
75
|
1 |
12 |
if ($error) |
87
|
1 |
262 |
if ($error) |
96
|
1 |
261 |
unless ref $class_colors eq 'HASH' |
101
|
0 |
6003 |
if ref $loaded_color |
104
|
6003 |
0 |
if (defined $parsed_color) |
110
|
1 |
261 |
if ($error) |
121
|
0 |
6020 |
unless defined $color_label |
122
|
14 |
6006 |
unless $color_label |
125
|
4 |
6002 |
if ($color_label =~ /\Argb\((\d+),(\d+),(\d+)\)\z/) { } |
|
5975 |
27 |
elsif ($color_label =~ /\A#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\z/i) { } |
|
2 |
25 |
elsif ($color_label =~ /\A\e\[\d+(:?;\d+)*m\z/) { } |
|
18 |
7 |
elsif ($color_label =~ /\A
(?:
\s*
(?:on_)?
(?:bright_)?
(?:black|red|green|yellow|blue|magenta|cyan|white)
)+
\s*\z/x) { } |
127
|
1 |
3 |
if ($r < 256 and $g < 256 and $b < 256) { } |
128
|
1 |
0 |
if ($self->{'color_level'} == 3) { } |
142
|
344 |
5631 |
if ($self->{'color_level'} == 3) { } |
198
|
45285 |
39195 |
if $s < $color |