Branch Coverage

blib/lib/Plack/Middleware/BetterStackTrace.pm
Criterion Covered Total %
branch 23 32 71.8


line true false branch
55 2 0 if ($trace and $caught || $self->force && ref $res eq 'ARRAY' && $$res[0] == 500)
72 0 2 unless $self->no_print_errors
74 1 1 if ($accept_mime_types =~ /html/) { }
110 0 4 if ref $err
128 0 3 if (utf8::is_utf8($str))
145 2 24 $i == $#frames - 1 ? :
151 21 5 if ($module_name)
155 0 26 if ($next_frame and $next_frame->subroutine eq $opt{'application_caller_subroutine'})
160 22 4 $next_frame ? :
189 26 0 if (-f $file)
192 0 26 $start < 1 ? :
193 0 26 unless open my $fh, '<', $file
198 24 1212 if $cur_line > $end
199 1032 180 if $cur_line < $start
201 26 154 $cur_line == $linenum ? :
224 0 26 if ($frame->subroutine eq $opt{'application_caller_subroutine'})