Branch Coverage

blib/lib/Devel/StackTrace.pm
Criterion Covered Total %
branch 51 60 85.0


line true false branch
23 2 34 if exists $p{'no_refs'}
45 4 117 $self->{'no_args'} ? :
61 82 3 unless ($self->{'no_args'})
86 0 117 unless (eval { do { $arg = $_; 1 } })
99 0 85 if $filter and not &$filter($raw)
101 79 6 unless ($self->{'unsafe_ref_capture'})
102 12 95 ref $_ ? :
114 0 12 if &blessed($ref) and $ref->isa('Exception::Class::Base')
117 10 2 unless $self->{'respect_overload'}
126 1 1 $@ ? :
136 7 73 if $filter and not &$filter($r)
148 2 32 if ($self->{'ignore_package'})
155 2 0 unless eval { do { @{$self->{'ignore_package'};} } }
158 1 1 ref $_ ? :
164 2 32 if ($self->{'ignore_class'})
166 2 0 unless ref $self->{'ignore_class'}
173 2 78 if grep {$_[0]{'caller'}[0] =~ /$_/;} @i_pack_re
174 4 74 if grep {$_[0]{'caller'}[0]->isa($_);} keys %i_class
176 5 69 if ($user_filter)
190 0 73 if scalar @$c == 6
207 5 8 unless defined $self->{'index'}
210 10 3 if (defined $f[$self->{'index'} + 1]) { }
226 3 6 unless defined $self->{'index'}
228 6 3 if (defined $f[$self->{'index'} - 1] and $self->{'index'} >= 1) { }
249 2 57 if (@_) { }
252 0 2 if grep {not $_->isa('Devel::StackTrace::Frame');} @_
258 34 23 if $self->{'raw'}
268 0 2 unless defined $i
286 15 3 if (@frames)
298 3 0 if defined $msg