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 106 0 936 $req->is_finished and not $self->{'handled'}++
76 11 1026 1781 defined $buffer and not length $buffer
95 936 841 91 $head and $self->is_empty

or 2 conditions

line l !l condition
31 88 1729 $req->headers->connection // ""
32 128 1689 $res->headers->connection // ""
78 2807 11 $buffer // ""
120 1054 935 $self->{'writing'} //= 1
123 1039 4781 $self->{$_} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
15 861 62 2 not $res->is_info or $res->headers->upgrade
23 12 84 858 uc $_[0]->req->method eq 'HEAD' || $_[0]->res->is_empty
33 6 39 1772 $req_conn eq "close" or $res_conn eq "close"