Condition Coverage

blib/lib/PAGI/Request/BodyStream.pm
Criterion Covered Total %
condition 16 28 57.1


and 3 conditions

line !l l&&!r l&&r condition
154 1 0 0 $self->{'decode'} and length $self->{'_buffer'}
318 2 0 0 ref $result and $result->can("get")
364 1 0 0 $self->{'strict'} and length $self->{'_buffer'} > 0

or 2 conditions

line l !l condition
116 1 13 $args{'strict'} // 0
1 13 $args{'limit_name'} // "max_bytes"
162 19 0 $message->{'body'} // ""
163 19 0 $message->{'more'} // 0
339 4 0 $flush //= 0

or 3 conditions

line l !l&&r !l&&!r condition
109 14 1 0 $args{'receive'} // croak("receive is required")
151 0 1 19 not $message or $message->{'type'} eq "http.disconnect"
349 3 0 1 $flush or not length $data