blib/lib/Mojo/Transaction/HTTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 28 | 96.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 78 | 0 | 948 | $req->is_finished and not $self->{'handled'}++ |
76 | 11 | 1038 | 1805 | defined $buffer and not length $buffer |
95 | 948 | 853 | 91 | $head and $self->is_empty |
line | l | !l | condition |
---|---|---|---|
31 | 88 | 1753 | $req->headers->connection // "" |
32 | 128 | 1713 | $res->headers->connection // "" |
78 | 2843 | 11 | $buffer // "" |
120 | 1066 | 947 | $self->{'writing'} //= 1 |
123 | 1051 | 4841 | $self->{$_} ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
15 | 873 | 62 | 2 | not $res->is_info or $res->headers->upgrade |
23 | 12 | 84 | 870 | uc $_[0]->req->method eq 'HEAD' || $_[0]->res->is_empty |
33 | 6 | 39 | 1796 | $req_conn eq "close" or $res_conn eq "close" |