| blib/lib/Net/Async/HTTP/Server/Protocol.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 6 | 48 | if $eof |
| 28 | 23 | 25 | unless $$buffref =~ s/^(.*?$CRLF$CRLF)//s |
| 32 | 0 | 25 | unless ($request and defined $request->protocol and $request->protocol =~ /^HTTP/) |
| 44 | 2 | 24 | unless length $$buffref >= $request_body_len |
| 72 | 0 | 59 | unless $req |
| 76 | 20 | 39 | $is_done ? : |