Condition Coverage

blib/lib/HTTP/Lite.pm
Criterion Covered Total %
condition 0 53 0.0


and 3 conditions

line !l l&&!r l&&r condition
272 0 0 0 not $content_out and defined $$self{'content'}
312 0 0 0 $headmode || $chunkmode eq 'entity-header' and $$data =~ /^[\r\n]*$/
383 0 0 0 $chunklength == $chunksize and not $chunk =~ /$CRLF$/
436 0 0 0 defined $newdata and ref $newdata eq 'SCALAR'
592 0 0 0 defined $$self{'headers'}{'Content-Type'} and $$self{'headers'}{'Content-Type'}
630 0 0 0 $headmode == 0 and $chunkmode eq '0'
674 0 0 0 $chars <= 0 and not $!{'EAGAIN'}
723 0 0 0 $chars <= 0 and not $!{'EAGAIN'}

or 2 conditions

line l !l condition
523 0 0 $port || 80

or 3 conditions

line l !l&&r !l&&!r condition
155 0 0 0 $$self{'proxy'} || $host
157 0 0 0 $$self{'proxyport'} || $port
175 0 0 0 $local_addr eq '0.0.0.0' or $local_addr eq '0'
312 0 0 0 $headmode || $chunkmode eq 'entity-header'
331 0 0 0 $headmode or $chunkmode eq 'entity-header'
420 0 0 0 defined $data_callback || defined $callback_func
522 0 0 0 $host || $value
617 0 0 0 defined $nbytes or $!{'EAGAIN'}
630 0 0 0 $headmode == 0 and $chunkmode eq '0' or $chunkmode eq 'chunk'