Condition Coverage

blib/lib/Log/Any/Adapter/Syslog.pm
Criterion Covered Total %
condition 16 27 59.2


and 3 conditions

line !l l&&!r l&&r condition
34 2 0 0 $ENV{'LOG_LEVEL'} and defined $logging_levels{$ENV{'LOG_LEVEL'}}

or 2 conditions

line l !l condition
46 2 0 File::Basename::basename($0) || 'perl'
47 1 2 $self->{'options'} ||= "pid"
48 1 2 $self->{'facility'} ||= "local7"

or 3 conditions

line l !l&&r !l&&!r condition
46 1 2 0 $self->{'name'} ||= File::Basename::basename($0) || 'perl'
49 0 2 0 $self->{'min_level'} || $self->_min_level
1 2 0 $self->{'log_level'} ||= $self->{'min_level'} || $self->_min_level
76 1 2 0 not defined $log_params or $log_params ne $new_params
3 0 0 not defined $log_params or $log_params ne $new_params or not $Sys::Syslog::facility
122 0 1 11 not defined $Sys::Syslog::facility or $Sys::Syslog::facility ne $self->{'facility'}