blib/lib/Plack/Middleware/FixMissingBodyInRedirect.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 15 | 80.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 0 | 0 | 14 | $$res[0] >= 300 and $$res[0] < 400 |
23 | 2 | 7 | 5 | @$res == 3 and not _is_body_set($$res[2]) |
71 | 2 | 0 | 2 | &Plack::Util::is_real_fh($body) and -f $body |
2 | 1 | 1 | &Plack::Util::is_real_fh($body) and -f $body and -z _ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 2 | 2 | 5 | @$res == 2 or blessed($$res[2]) |