Branch Coverage

blib/lib/Net/SolarWinds/LogMethods.pm
Criterion Covered Total %
branch 31 38 81.5


line true false branch
61 0 11 unless $log
63 2 9 unless $log->get_loglevel >= $log->LOG_ERROR
66 4 5 if $self->can('log_header')
82 0 2 if $self->can('log_header')
86 1 1 unless $log
88 0 1 unless $log->get_loglevel >= $log->LOG_ALWAYS
99 1 1 unless $self->get_log
118 0 11 unless $log
120 0 11 unless $log->get_loglevel >= $log->LOG_ALWAYS
123 5 6 if $self->can('log_header')
148 0 11 unless $log
150 4 7 unless $log->get_loglevel >= $log->LOG_WARN
152 3 4 if $self->can('log_header')
171 0 12 unless $log
173 6 6 unless $log->get_loglevel >= $log->LOG_INFO
175 2 4 if $self->can('log_header')
194 4 11 unless $log
196 8 3 unless $log->get_loglevel >= $log->LOG_DEBUG
199 1 2 if $self->can('log_header')