Branch Coverage

blib/lib/Log/Log4perl/Appender/Raven.pm
Criterion Covered Total %
branch 23 38 60.5


line true false branch
50 1 9 if ($self->infect_die)
64 7 38 if ($caller[0] =~ /^Log::Log4perl/)
77 4 0 if ($^S)
85 1 3 if ($package =~ /^Carp/)
101 4 0 if ($method eq 'error')
125 1 7 unless ($tmpl->compile)
129 0 1 unless $tmpl->compile
154 0 19 if ('Log::Log4perl::MDC'->get('Log::Log4perl::Appender::Raven-reentrance'))
165 0 19 length $params{'message'} > 1000 ? :
199 14 5 unless ($caller_string eq '(eval)' or scalar(reverse $caller_string) =~ /^__NONA__/)
217 19 0 if (my $mdc_tags = $self->mdc_tags)
222 19 0 if (my $mdc_extra = $self->mdc_extra)
227 19 0 if (my $mdc_user = $self->mdc_user)
232 19 0 if (my $mdc_http = $self->mdc_http)
244 0 0 unless defined $string
245 0 0 unless defined $offset
246 0 0 unless defined $length
260 1 18 $user ? :
1 18 $http ? :