Branch Coverage

blib/lib/Devel/StackTrace.pm
Criterion Covered Total %
branch 47 54 87.0


line true false branch
23 2 28 if exists $p{'no_refs'}
45 4 105 $self->{'no_args'} ? :
61 3 76 $self->{'no_args'} ? :
69 0 79 if $filter and not &$filter($raw)
71 73 6 unless ($self->{'unsafe_ref_capture'})
72 12 87 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 67 if $filter and not &$filter($r)
118 2 26 if ($self->{'ignore_package'})
125 2 0 unless eval { do { @{$self->{'ignore_package'};} } }
128 1 1 ref $_ ? :
134 2 26 if ($self->{'ignore_class'})
136 2 0 unless ref $self->{'ignore_class'}
143 2 72 if grep {$_[0]{'caller'}[0] =~ /$_/;} @i_pack_re
144 4 68 if grep {$_[0]{'caller'}[0]->isa($_);} keys %i_class
146 5 63 if ($user_filter)
160 0 67 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 51 if (@_) { }
222 0 2 if grep {not $_->isa('Devel::StackTrace::Frame');} @_
228 28 23 if $self->{'raw'}
238 0 2 unless defined $i