blib/lib/Log/Report/Dispatcher.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 51 | 49.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
181 | 10 | 0 | 0 | $locale and $locale ne $oldloc |
187 | 1 | 7 | 2 | $r && $e |
221 | 10 | 0 | 0 | $locale and $locale ne $oldloc |
262 | 0 | 15 | 12 | @$args and &first(sub { &$_($args); } , @skip_stack) |
281 | 8 | 4 | 0 | ref $params[0] && $call =~ /^(.*\:\:)/ && UNIVERSAL::isa($params[0], $1) |
line | l | !l | condition |
---|---|---|---|
73 | 2 | 31 | delete $args->{'format_reason'} || 'LOWERCASE' |
85 | 0 | 33 | $csenc || sub { $_[0]; } |
180 | 10 | 0 | setlocale(&LC_ALL) // '' |
275 | 0 | 12 | $args{'max_line'} ||= 500 |
276 | 0 | 12 | $args{'abstract'} || 1 |
277 | 0 | 12 | $args{'max_params'} || 8 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
67 | 0 | 33 | 0 | delete $args->{'mode'} || $default_mode |
70 | 16 | 17 | 0 | delete $args->{'accept'} || $default_accept[$mode] |
168 | 0 | 0 | 7 | $always_loc{$reason} || $mode == 2 && $code >= $Log::Report::Dispatcher::reason_code{'WARNING'} || $mode == 3 && $code >= $Log::Report::Dispatcher::reason_code{'MISTAKE'} |
173 | 0 | 0 | 10 | $reason eq 'PANIC' || $mode == 2 && $code >= $Log::Report::Dispatcher::reason_code{'ALERT'} || $mode == 3 && $code >= $Log::Report::Dispatcher::reason_code{'ERROR'} |
178 | 0 | 0 | 0 | $opts->{'locale'} || $self->{'locale'} |
201 | 3 | 0 | 0 | $opts->{'location'} || $self->collectLocation |
212 | 0 | 0 | 0 | $opts->{'stack'} ||= $self->collectStack |
236 | 11 | 3 | 1 | not defined $max or $max-- |