Branch Coverage

blib/lib/Net/Async/HTTP/Server/Request.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
246 1 36 $self->protocol eq 'HTTP/1.0' ? :
256 20 39 if $self->{'is_done'}
276 21 19 unless (defined $self->{'response_status_line'})
280 2 38 if $self->{'is_closed'}
282 0 38 if $self->{'is_done'}
302 0 6 if $self->{'is_closed'}
303 1 5 unless my $len = length $data
320 2 20 if $self->{'is_closed'}
322 0 20 if $self->{'is_done'}
340 0 3 if $self->{'is_closed'}
373 0 0 unless defined $response->protocol
402 2 0 unless defined $response->protocol
404 2 0 unless defined $response->header('Transfer-Encoding')
415 1 1 if length $response->content
462 0 2 unless my $line = $self->{'response_status_line'}