blib/lib/POE/Filter/HTTPD.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 37 | 62.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
94 | 26 | 8 | 0 | @_ and @_ & 1 |
257 | 0 | 0 | 1 | $$self[3] >= $HTTP_1_1 and not defined $cl |
269 | 1 | 6 | 2 | not $$self[7] and $cl > $$self[6] |
447 | 0 | 0 | 1 | HAVE_UTF8() and utf8::is_utf8($value) |
line | l | !l | condition |
---|---|---|---|
99 | 1 | 29 | $params{'Streaming'} || 0 |
165 | 13 | 13 | $3 || 'HTTP/0.9' |
207 | 9 | 0 | $1 || 0 |
376 | 2 | 0 | status_message $code || 'Unknown Error' |
377 | 2 | 0 | $_->message || '' |
378 | 0 | 2 | $_->protocol || 'HTTP/1.0' |
500 | 6 | 0 | $content_type ||= 'text/html' |
501 | 6 | 0 | $status ||= 200 |
515 | 6 | 0 | $status ||= 400 |
516 | 6 | 0 | $details ||= '' |
517 | 6 | 0 | status_message $status || 'Unknown Error' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
221 | 9 | 1 | 15 | defined $cl or defined $ce |