Branch Coverage

blib/lib/Exception/Class/Base.pm
Criterion Covered Total %
branch 28 40 70.0


line true false branch
29 1 0 if (@_) { }
68 0 4 if exists $s->{$f}
72 4 0 $frame ? :
86 0 37 if ref $proto
110 4 33 @_ == 1 ? :
114 2 35 if exists $p{'show_trace'}
116 1 36 if ($self->NoContextInfo) { }
133 1 35 if (my $i = delete $p{'ignore_class'})
134 1 0 ref $i eq 'ARRAY' ? :
137 2 34 if (my $i = delete $p{'ignore_package'})
138 2 0 ref $i eq 'ARRAY' ? :
152 34 5 if $key =~ /^(?:error|message|show_trace)$/
154 5 0 if ($fields{$key}) { }
197 0 9 unless $self->{'trace'}
199 0 9 if (@_)
203 2 7 exists $self->{'show_trace'} ? :
210 0 9 unless (defined $str and length $str)
212 0 0 defined $desc && length $desc ? :
216 7 2 if $self->show_trace
251 1 2 unless defined $e and &blessed($e) and $e->isa($class)