Condition Coverage

blib/lib/Log/Report/Dispatcher.pm
Criterion Covered Total %
condition 25 51 49.0


and 3 conditions

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 16 17 @$args and &first(sub { &$_($args); } , @skip_stack)
281 19 0 0 ref $params[0] && $call =~ /^(.*\:\:)/ && UNIVERSAL::isa($params[0], $1)

or 2 conditions

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 19 $args{'max_line'} ||= 500
276 0 19 $args{'abstract'} || 1
277 0 19 $args{'max_params'} || 8

or 3 conditions

line l !l&&r !l&&!r condition
67 11 22 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 19 3 1 not defined $max or $max--