| blib/lib/Plack/Middleware/ExtractedStackTrace.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 3 | 10 | 30.0 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 1 | 2 | if $caught |
| 38 | 0 | 0 | if ($trace and $caught || $self->force && ref $res eq 'ARRAY' && $res->[0] == 500) |
| 47 | 0 | 0 | unless $self->no_print_errors |
| 48 | 0 | 0 | if (($env->{'HTTP_ACCEPT'} || '*/*') =~ /html/) { } |
| 91 | 0 | 1 | if (utf8::is_utf8($str)) |