Condition Coverage

blib/lib/Log/Any/Adapter/Screen.pm
Criterion Covered Total %
condition 0 26 0.0


and 3 conditions

line !l l&&!r l&&r condition
33 0 0 0 $ENV{'LOG_LEVEL'} and defined $logging_levels{$ENV{'LOG_LEVEL'}}
65 0 0 0 exists $self->{'log_level'} and not exists $self->{'min_level'}
111 0 0 0 $self->{'use_color'} and $self->{'colors'}{$method}

or 2 conditions

line l !l condition
43 0 0 $self->{'default_level'} //= "warning"
44 0 0 $self->{'stderr'} //= 1
69 0 0 $ENV{'LOG_PREFIX'} // ""
75 0 0 $ENV{'LOG_PREFIX'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
45 0 0 0 $self->{'use_color'} //= do { if (exists $ENV{'NO_COLOR'}) { 0; } elsif (defined $ENV{'COLOR'}) { $ENV{'COLOR'}; } else { -t STDOUT; } }
67 0 0 0 $self->{'min_level'} //= $self->_min_level
71 0 0 0 $Time0 //= Time::HiRes::time()