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 104 0 1018 $req->is_finished and not $self->{'handled'}++
76 20 1092 1920 defined $buffer and not length $buffer
95 1018 899 115 $head and $self->is_empty

or 2 conditions

line l !l condition
31 102 1848 $req->headers->connection // ""
32 161 1789 $res->headers->connection // ""
78 3012 20 $buffer // ""
120 1136 1017 $self->{'writing'} //= 1
123 1111 5185 $self->{$_} ||= 0

or 3 conditions

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