Branch Coverage

blib/lib/Devel/EvalError.pm
Criterion Covered Total %
branch 25 50 50.0


line true false branch
19 0 6 unless eval "$code; 1"
46 0 2 if ref $we
56 0 2 if $$me[1]
71 1 0 1 == @_ ? :
73 0 1 if $handler
83 2 0 if $prevReason
100 1 0 if (@_ <= 1 and not defined $_[0]) { }
0 0 elsif (1 == @_ and 1 eq $_[0]) { }
112 0 1 0 == @_ ? :
114 1 0 wantarray ? :
124 0 2 unless $$me[1]
126 0 2 if defined $$me[4]
129 0 2 unless (defined $okay)
130 0 0 defined $_ ? :
136 1 1 if (not $okay and $reason)
138 0 1 if $reason ne $$me[1][-1]
147 0 4 unless $$me[1]
149 2 2 if ('0' ne $handler)
152 0 2 if ($current != $$me[3])
165 0 0 unless $$me[1]
171 0 2 unless $$me[1]
172 1 1 if not defined $$me[4] or $$me[4]
175 0 1 unless (@reasons)
188 1 0 if 1 == @reasons or $$me[5]
197 0 2 unless defined $okay