Branch Coverage

blib/lib/Log/Handler/Levels.pm
Criterion Covered Total %
branch 14 44 31.8


line true false branch
207 4 48 unless ($levels->{$level})
212 2 78 if ($output->{'category'} or $output->{'filter_caller'} or $output->{'except_caller'})
213 2 0 unless ($caller)
217 0 2 if ($output->{'category'}) { }
2 0 elsif ($output->{'filter_caller'}) { }
0 0 elsif ($output->{'except_caller'}) { }
219 0 0 unless $caller =~ /$output->{'category'}/
221 1 1 unless $caller =~ /$output->{'filter_caller'}/
223 0 0 if $caller =~ /$output->{'except_caller'}/
227 0 79 unless ($output->log($level, @_))
228 0 0 if (defined $errors) { }
236 0 47 defined $errors ? :
247 25 0 $levels->{$level} ? :
255 0 0 @_ > 1 ? :
256 0 0 unless (exists $LEVELS_BY_ROUTINE{$level})
265 0 0 @_ > 1 ? :
266 0 0 unless (exists $LEVELS_BY_ROUTINE{$level})
276 13 0 @_ > 1 ? :
277 0 13 unless (exists $LEVELS_BY_ROUTINE{$level})
288 0 0 @_ > 1 ? :
290 0 0 unless (exists $LEVELS_BY_ROUTINE{$level})
294 0 0 $self->$is_level ? :