Branch Coverage

blib/lib/Log/Fine/Handle.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
71 4 4 if $self->isLoggable(log($map->maskToValue($maskname)) / 0.69314718055994529 - 1)
108 1 0 if defined $formatter and ref $formatter and UNIVERSAL::can($formatter, 'isa') and $formatter->isa('Log::Fine::Formatter')
146 0 791 unless defined $lvl
150 791 0 $lvl =~ /^\d+$/ ? :
154 0 791 unless defined $val
159 399 392 ($$self{'mask'} & $shifted) == $shifted ? :
201 1 0 $class eq 'Log::Fine::Handle' ? :
228 17 385 unless defined $$self{'mask'}
232 0 1 unless defined $$self{'formatter'} and ref $$self{'formatter'} and UNIVERSAL::can($$self{'formatter'}, 'isa') and $$self{'formatter'}->isa('Log::Fine::Formatter')