Condition Coverage

blib/lib/Mojo/Transaction/HTTP.pm
Criterion Covered Total %
condition 27 28 96.4


and 3 conditions

line !l l&&!r l&&r condition
60 64 0 1014 $req->is_finished and not $self->{'handled'}++
76 21 1088 1911 defined $buffer and not length $buffer
95 1014 895 115 $head and $self->is_empty

or 2 conditions

line l !l condition
31 102 1840 $req->headers->connection // ""
32 161 1781 $res->headers->connection // ""
78 2999 21 $buffer // ""
120 1132 1013 $self->{'writing'} //= 1
123 1107 5165 $self->{$_} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
15 910 74 2 not $res->is_info or $res->headers->upgrade
23 26 94 912 uc $_[0]->req->method eq 'HEAD' || $_[0]->res->is_empty
33 6 58 1878 $req_conn eq "close" or $res_conn eq "close"