Branch Coverage

blib/lib/Log/Log4perl/Appender/Raven.pm
Criterion Covered Total %
branch 24 40 60.0


line true false branch
51 1 9 if ($self->infect_die)
65 7 38 if ($caller[0] =~ /^Log::Log4perl/)
78 4 0 if ($^S)
86 1 3 if ($package =~ /^Carp/)
102 4 0 if ($method eq 'error')
126 1 7 unless ($tmpl->compile)
130 0 1 unless $tmpl->compile
155 0 19 if ('Log::Log4perl::MDC'->get('Log::Log4perl::Appender::Raven-reentrance'))
166 0 19 length $params{'message'} > 1000 ? :
200 14 5 unless ($caller_string eq '(eval)' or scalar(reverse $caller_string) =~ /^__NONA__/)
218 19 0 if (my $mdc_tags = $self->mdc_tags)
223 19 0 if (my $mdc_extra = $self->mdc_extra)
228 19 0 if (my $mdc_user = $self->mdc_user)
233 19 0 if (my $mdc_http = $self->mdc_http)
245 19 0 if ($Safe::VERSION >= 2.35)
262 0 0 unless defined $string
263 0 0 unless defined $offset
264 0 0 unless defined $length
279 1 18 $user ? :
1 18 $http ? :