Branch Coverage

blib/lib/Log/Report/Dispatcher/Try.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
28 0 17 unless defined $self->SUPER::init($args)
40 13 3 @_ ? :
48 1 0 unless my $h = +(shift())->{'hides'}
49 0 0 keys %$h ? :
55 17 0 defined $_ ? :
0 17 ref $_ eq 'ARRAY' ? :
58 17 0 @h == 1 && $h[0] eq 'NONE' ? :
0 17 @h == 1 && $h[0] eq 'ALL' ? :
0 17 @h == 0 ? :
72 6 8 unless ($opts->{'stack'})
77 3 3 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 7 15 unless defined $self->{'died'}
112 15 0 !$args{'class'} || $ex->inClass($args{'class'}) ? :
118 0 3 unless my $fatal = $self->wasFatal