Branch Coverage

blib/lib/Plack/Middleware/StackTrace/RethrowFriendly.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
24 4 0 if ($key ne $last_key)
46 2 2 if (scalar @$trace and $self->should_show_trace($caught, $last_key, $res))
48 0 2 @$trace > 1 ? :
52 0 2 unless $self->no_print_errors
53 1 1 ($$env{'HTTP_ACCEPT'} || '*/*') =~ /html/ ? :
68 1 3 if ($err) { }
81 0 5 if (not defined $val) { }
0 5 elsif (ref $val) { }
93 1 2 if $no_trace