blib/lib/CPANPLUS/Internals/Source/MetaCPAN/HTTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 50 | 36.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
274 | 0 | 4 | 0 | not $content_out and defined $$self{'content'} |
314 | 11 | 28 | 4 | $headmode || $chunkmode eq 'entity-header' and $$data =~ /^[\r\n]*$/ |
385 | 0 | 0 | 0 | $chunklength == $chunksize and not $chunk =~ /$CRLF$/ |
438 | 0 | 0 | 0 | defined $newdata and ref $newdata eq 'SCALAR' |
593 | 0 | 0 | 0 | defined $$self{'headers'}{'Content-Type'} and $$self{'headers'}{'Content-Type'} |
629 | 36 | 0 | 15 | $headmode == 0 and $chunkmode eq '0' |
673 | 4 | 0 | 0 | $chars <= 0 and not $!{'EAGAIN'} |
722 | 22 | 0 | 8 | $chars <= 0 and not $!{'EAGAIN'} |
line | l | !l | condition |
---|---|---|---|
524 | 0 | 0 | $port || 80 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
157 | 0 | 4 | 0 | $$self{'proxy'} || $host |
159 | 0 | 4 | 0 | $$self{'proxyport'} || $port |
177 | 0 | 0 | 0 | $local_addr eq '0.0.0.0' or $local_addr eq '0' |
314 | 32 | 0 | 11 | $headmode || $chunkmode eq 'entity-header' |
333 | 28 | 0 | 11 | $headmode or $chunkmode eq 'entity-header' |
422 | 0 | 0 | 11 | defined $data_callback || defined $callback_func |
523 | 0 | 0 | 0 | $host || $value |
629 | 15 | 0 | 36 | $headmode == 0 and $chunkmode eq '0' or $chunkmode eq 'chunk' |