Branch Coverage

blib/lib/Log/Any/Adapter/Syslog.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
34 0 2 if $ENV{'LOG_LEVEL'} and defined $logging_levels{$ENV{'LOG_LEVEL'}}
35 0 2 if $ENV{'TRACE'}
36 0 2 if $ENV{'DEBUG'}
37 0 2 if $ENV{'VERBOSE'}
38 0 2 if $ENV{'QUIET'}
51 0 3 unless ($self->{'options'} =~ /\D/)
59 0 0 unless eval { do { require Unix::Syslog } }
76 2 0 if (not defined $log_params or $log_params ne $new_params or not $Sys::Syslog::facility)
114 0 12 if $logging_levels{$method} < $logging_levels{$self->{'log_level'}}
122 1 11 if (not defined $Sys::Syslog::facility or $Sys::Syslog::facility ne $self->{'facility'})