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
275 0 0 0 not $content_out and defined $$self{'content'}
315 0 0 0 $headmode || $chunkmode eq 'entity-header' and $$data =~ /^[\r\n]*$/
386 0 0 0 $chunklength == $chunksize and not $chunk =~ /$CRLF$/
439 0 0 0 defined $newdata and ref $newdata eq 'SCALAR'
595 0 0 0 defined $$self{'headers'}{'Content-Type'} and $$self{'headers'}{'Content-Type'}
633 0 0 0 $headmode == 0 and $chunkmode eq '0'
677 0 0 0 $chars <= 0 and not $!{'EAGAIN'}
726 0 0 0 $chars <= 0 and not $!{'EAGAIN'}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
158 0 0 0 $$self{'proxy'} || $host
160 0 0 0 $$self{'proxyport'} || $port
178 0 0 0 $local_addr eq '0.0.0.0' or $local_addr eq '0'
315 0 0 0 $headmode || $chunkmode eq 'entity-header'
334 0 0 0 $headmode or $chunkmode eq 'entity-header'
423 0 0 0 defined $data_callback || defined $callback_func
525 0 0 0 $host || $value
620 0 0 0 defined $nbytes or $!{'EAGAIN'}
633 0 0 0 $headmode == 0 and $chunkmode eq '0' or $chunkmode eq 'chunk'