line |
true |
false |
branch |
46
|
0 |
1 |
$color_depth >= 256 ? : |
47
|
1 |
0 |
if (defined(my $c = $colors->{$level})) |
50
|
0 |
0 |
if (defined(my $clevel = $level_map{$level})) |
58
|
0 |
0 |
if (not defined $dist or $dist > $d) |
73
|
7 |
0 |
unless $msg =~ /\R\z/ |
80
|
3 |
1 |
unless defined $stderr |
81
|
3 |
1 |
$stderr ? : |
83
|
1 |
3 |
if (defined $plugin_conf{'use_color'}) { } |
|
0 |
3 |
elsif (exists $ENV{'NO_COLOR'}) { } |
|
0 |
3 |
elsif (defined $ENV{'COLOR'}) { } |
90
|
2 |
1 |
$stderr ? : |
94
|
1 |
3 |
if (defined $plugin_conf{'color_depth'}) { } |
|
0 |
3 |
elsif (defined $ENV{'COLOR_DEPTH'}) { } |
|
3 |
0 |
elsif (not $use_color) { } |
|
0 |
0 |
elsif (defined $ENV{'COLORTERM'} and $ENV{'COLORTERM'} eq 'truecolor') { } |
|
0 |
0 |
elsif (defined $ENV{'TERM'} and $ENV{'TERM'} =~ /256color/) { } |
110
|
0 |
4 |
if ($plugin_conf{'colorize_tags'}) |
123
|
1 |
6 |
if $per_msg_conf |
|
6 |
1 |
unless defined $level |
124
|
0 |
7 |
if ($formatter) |
128
|
1 |
6 |
if ($use_color) { } |
131
|
0 |
1 |
if ($plugin_conf{'colorize_tags'}) { } |
134
|
0 |
0 |
if ($msg =~ s/\A([\w-]+:?\s*)//) |
143
|
0 |
0 |
if defined $prog_prefix |