Branch Coverage

blib/lib/Devel/StackTrace.pm
Criterion Covered Total %
branch 50 58 86.2


line true false branch
23 2 34 if exists $p{'no_refs'}
45 4 117 $self->{'no_args'} ? :
61 3 82 $self->{'no_args'} ? :
69 0 85 if $filter and not &$filter($raw)
71 79 6 unless ($self->{'unsafe_ref_capture'})
72 12 95 ref $_ ? :
84 0 12 if &blessed($ref) and $ref->isa('Exception::Class::Base')
87 10 2 unless $self->{'respect_overload'}
96 1 1 $@ ? :
106 7 73 if $filter and not &$filter($r)
118 2 32 if ($self->{'ignore_package'})
125 2 0 unless eval { do { @{$self->{'ignore_package'};} } }
128 1 1 ref $_ ? :
134 2 32 if ($self->{'ignore_class'})
136 2 0 unless ref $self->{'ignore_class'}
143 2 78 if grep {$_[0]{'caller'}[0] =~ /$_/;} @i_pack_re
144 4 74 if grep {$_[0]{'caller'}[0]->isa($_);} keys %i_class
146 5 69 if ($user_filter)
160 0 73 if scalar @$c == 6
177 5 8 unless defined $self->{'index'}
180 10 3 if (defined $f[$self->{'index'} + 1]) { }
196 3 6 unless defined $self->{'index'}
198 6 3 if (defined $f[$self->{'index'} - 1] and $self->{'index'} >= 1) { }
219 2 57 if (@_) { }
222 0 2 if grep {not $_->isa('Devel::StackTrace::Frame');} @_
228 34 23 if $self->{'raw'}
238 0 2 unless defined $i
256 15 3 if (@frames)
268 3 0 if defined $msg