Branch Coverage

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


line true false branch
24 2 35 if exists $p{'no_refs'}
46 4 119 $self->{'no_args'} ? :
62 83 3 unless ($self->{'no_args'})
87 0 118 unless (eval { do { $arg = $_; 1 } })
100 0 86 if $filter and not &$filter($raw)
102 80 6 unless ($self->{'unsafe_ref_capture'})
103 12 96 if (ref $_) { }
115 0 12 if builtin::blessed($ref) and $ref->isa("Exception::Class::Base")
118 10 2 unless $self->{'respect_overload'}
127 1 1 $@ ? :
137 7 73 if $filter and not &$filter($r)
149 2 32 if ($self->{'ignore_package'})
156 2 0 unless eval { do { @{$self->{'ignore_package'};} } }
159 1 1 ref $_ ? :
165 2 32 if ($self->{'ignore_class'})
167 2 0 unless ref $self->{'ignore_class'}
174 2 78 if grep {$_[0]{'caller'}[0] =~ /$_/;} @i_pack_re
175 4 74 if grep {$_[0]{'caller'}[0]->isa($_);} keys %i_class
177 5 69 if ($user_filter)
191 0 73 if scalar @$c == 6
208 5 8 unless defined $self->{'index'}
211 10 3 if (defined $f[$self->{'index'} + 1]) { }
227 3 6 unless defined $self->{'index'}
229 6 3 if (defined $f[$self->{'index'} - 1] and $self->{'index'} >= 1) { }
250 2 57 if (@_) { }
253 0 2 if grep {not $_->isa("Devel::StackTrace::Frame");} @_
259 34 23 if $self->{'raw'}
269 0 2 unless defined $i
287 15 3 if (@frames)
299 3 0 if defined $msg