blib/lib/Log/Log4perl/Appender/Buffer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
35 | 1 | 3 | if ($self->{'trigger_level'}) |
61 | 0 | 12 | if (defined $self->{'max_messages'} and @{$self->{'buffer'};} == $self->{'max_messages'}) |
72 | 11 | 1 | if (defined $cache) |
76 | 5 | 7 | if $self->{'trigger'}->($self, \%params) |
98 | 0 | 4 | unless (exists $self->{'appender'}) |
105 | 0 | 4 | unless (defined $appender) |