Branch Coverage

blib/lib/Log/Report/Dispatcher/Try.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
28 0 15 unless defined $self->SUPER::init($args)
40 11 3 @_ ? :
48 1 0 unless my $h = (shift())->{'hides'}
49 0 0 keys %$h ? :
55 15 0 defined $_ ? :
0 15 ref $_ eq 'ARRAY' ? :
58 15 0 @h == 1 && $h[0] eq 'NONE' ? :
0 15 @h == 1 && $h[0] eq 'ALL' ? :
0 15 @h == 0 ? :
72 4 8 unless ($opts->{'stack'})
77 0 4 if $reason eq 'PANIC' or $mode == 2 and $Log::Report::Dispatcher::Try::reason_code{$reason} >= $Log::Report::Dispatcher::Try::reason_code{'ALERT'} or $mode == 3 and $Log::Report::Dispatcher::Try::reason_code{$reason} >= $Log::Report::Dispatcher::Try::reason_code{'ERROR'}
109 6 13 unless defined $self->{'died'}
112 13 0 !$args{'class'} || $ex->inClass($args{'class'}) ? :
118 0 3 unless my $fatal = $self->wasFatal