| line |
true |
false |
branch |
|
44
|
0 |
0 |
unless $url =~ m[http://(.+?)(/.+)$] |
|
53
|
0 |
0 |
unless ref $self |
|
56
|
0 |
0 |
unless $self->_parse_url($args{'path'}) |
|
91
|
0 |
0 |
if (not $ret and $! == 115) |
|
96
|
0 |
0 |
if (select(undef, $win, undef, 3) > 0) |
|
100
|
0 |
0 |
if not $ret and $! == 106 |
|
105
|
0 |
0 |
if $ret |
|
111
|
0 |
0 |
if $$self{'sock'} |
|
117
|
0 |
0 |
if $$self{'sock'} = $self->_sock_to_host($$self{'host'}) |
|
121
|
0 |
0 |
if (my $dest = shift @{$$self{'backup_dests'};}) { } |
|
124
|
0 |
0 |
unless $self->_parse_url($$dest[1]) |
|
139
|
0 |
0 |
unless $$self{'sock'} |
|
142
|
0 |
0 |
if ($$self{'data_in'} =~ s/^(.*?\r?\n)//) |
|
155
|
0 |
0 |
if (defined $bytesin) { } |
|
157
|
0 |
0 |
if $bytesin |
|
159
|
0 |
0 |
if $! == 11 |
|
164
|
0 |
0 |
if ($$self{'data_in'} =~ s/^(.*?\r?\n)//) |
|
169
|
0 |
0 |
unless ($bytesin) |
|
191
|
0 |
0 |
unless $$self{'sock'} |
|
206
|
0 |
0 |
if (defined $bytesout) { } |
|
213
|
0 |
0 |
if $! == 11 |
|
217
|
0 |
0 |
unless $bytesleft |
|
222
|
0 |
0 |
unless ($$self{'bytes_out'}) |
|
223
|
0 |
0 |
if (my $dest = shift @{$$self{'backup_dests'};}) |
|
225
|
0 |
0 |
unless $self->_parse_url($$dest[1]) |
|
248
|
0 |
0 |
if (not $$self{'sock'} and $$self{'content_length'}) |
|
254
|
0 |
0 |
if ($$self{'sock'}) { } |
|
257
|
0 |
0 |
if ($$self{'length'} < 1024) |
|
258
|
0 |
0 |
if ($$self{'length'} + $newlen > 1024) { } |
|
281
|
0 |
0 |
unless ($$self{'sock'}) |
|
294
|
0 |
0 |
if ($$self{'sock'}) |
|
297
|
0 |
0 |
unless defined $line |
|
300
|
0 |
0 |
if ($line =~ m[^HTTP/\d+\.\d+\s+(\d+)]) { } |
|
302
|
0 |
0 |
unless ($1 >= 200 and $1 <= 299) |
|
309
|
0 |
0 |
unless $l |
|
310
|
0 |
0 |
unless $found_header |
|
315
|
0 |
0 |
if length $body > 512 |
|
335
|
0 |
0 |
$$self{'content_length'} ? : |
|
345
|
0 |
0 |
unless ($rv) |
|
364
|
0 |
0 |
if $_[1] > $_[0]{'length'} |
|
370
|
0 |
0 |
$_[0]{'pos'} >= $_[0]{'length'} ? : |
|
384
|
0 |
0 |
if $count < $max |
|
410
|
0 |
0 |
if (@_) { } |
|
414
|
0 |
0 |
if ref $val eq 'ARRAY' |