Condition Coverage

blib/lib/PAGI/Context/HTTP.pm
Criterion Covered Total %
condition 13 15 86.6


and 3 conditions

line !l l&&!r l&&r condition
110 37 9 1 $conn and not $conn->can("response_started")
114 36 7 1 $conn and $conn->response_started

or 3 conditions

line l !l&&r !l&&!r condition
93 2 6 0 $self->{'_request'} //= do { require PAGI::Request; "PAGI::Request"->new($self->{'scope'}, $self->{'receive'}) }
101 4 47 0 $self->{'_response'} //= do { require PAGI::Response; "PAGI::Response"->new($self->{'scope'}) }
114 2 1 43 $self->{'_responded'} or $conn and $conn->response_started