blib/lib/Plack/Middleware/HTTPExceptions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 14 | 64.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
49 | 1 | 5 | 0 | &blessed($e) and $e->can('as_psgi') |
52 | 1 | 0 | 5 | &blessed($e) and $e->can('code') |
78 | 5 | 0 | 1 | $code =~ /^3/ and my $loc = eval { do { $e->location } } |
line | l | !l | condition |
---|---|---|---|
13 | 0 | 2 | $ENV{'PLACK_ENV'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
71 | 2 | 4 | 0 | $message ||= &HTTP::Status::status_message($code) |