Branch Coverage

lib/Log/Message.pm
Criterion Covered Total %
branch 29 42 69.0


line true false branch
242 0 2 unless $Log::Message::CONFIG = 'Log::Message::Config'->new(%hash)
285 0 7 unless my $conf = 'Log::Message::Config'->new(%hash, 'default', $Log::Message::CONFIG)
287 5 2 if ($conf->private or $Log::Message::CONFIG->private) { }
297 2 0 unless scalar @$Log::Message::STACK
315 0 7 unless my $args = check($tmpl, \%hash, $Log::Message::CONFIG->verbose)
332 0 0 defined $Log::Message::CONFIG->$what ? :
32 0 defined $$self{'CONFIG'}->$what ? :
395 4 2 if (@_ == 1) { }
401 1 5 unless my $args = check($tmpl, \%hash)
409 0 5 unless my $item = 'Log::Message::Item'->new(%$args, 'parent', $self, 'id', scalar @{$$self{'STACK'};})
483 0 10 if (@_ == 1) { }
489 0 10 unless my $args = check($tmpl, \%hash)
494 26 4 $_->tag =~ /$$args{'tag'}/ ? :
495 30 4 $_->level =~ /$$args{'level'}/ ? :
496 34 4 $_->message =~ /$$args{'message'}/ ? :
501 8 2 $$args{'chrono'} ? :
505 0 19 $$args{'remove'} ? :
506 3 7 scalar @list > $amount ? :
511 3 7 wantarray ? :
530 0 1 @_ == 1 ? :
551 0 1 @_ == 1 ? :