line |
true |
false |
branch |
33
|
0 |
0 |
defined $$args{'login_attempts'} ? : |
54
|
0 |
0 |
defined $ftp ? : |
61
|
0 |
0 |
unless defined $to and length $to |
70
|
0 |
0 |
$retries ? : |
|
0 |
0 |
if $attempt != 1 |
75
|
0 |
0 |
unless ($ftp) |
80
|
0 |
0 |
unless ($ftp->login($$self{'login_user'}, $$self{'login_password'})) |
88
|
0 |
0 |
unless ($ftp->cwd($dir)) |
100
|
0 |
0 |
unless $success |
112
|
0 |
0 |
if $success |
125
|
0 |
0 |
if ($$self{'skip_names'}($ftp, $full, $entry)) |
130
|
0 |
0 |
if (not length $entry) { } |
|
0 |
0 |
elsif ($ftp->cwd($entry)) { } |
131
|
0 |
0 |
unless -d $to or mkdir $to |
140
|
0 |
0 |
unless -d $to or mkdir $to |
143
|
0 |
0 |
if $full ne '/' |
145
|
0 |
0 |
if ($success) |
146
|
0 |
0 |
unless $success = $ftp->cdup |
166
|
0 |
0 |
unless $success |
175
|
0 |
0 |
unless $ftp->mdtm($fn) |
181
|
0 |
0 |
unless $got_size |
204
|
0 |
0 |
if (-e $local_name) |
206
|
0 |
0 |
unless (-f $local_name) |
214
|
0 |
0 |
if ($remote_mtime and $local_mtime >= $remote_mtime) |
224
|
0 |
0 |
unless my $got_size = $self->_can_restart($ftp, $local_name, $local_temp, $expected_size) |
229
|
0 |
0 |
if (defined $expected_size and $expected_size == $got_size) { } |
232
|
0 |
0 |
if ($expected_size == 0) |
233
|
0 |
0 |
unless open OUT, '>', $local_temp |
245
|
0 |
0 |
if ($downloaded) { } |
257
|
0 |
0 |
if ($success) |
261
|
0 |
0 |
unless (rename $local_temp, $local_name) |
274
|
0 |
0 |
if $size > 1000 |
275
|
0 |
0 |
if $size > 1000 |
276
|
0 |
0 |
if $size > 1000 |
278
|
0 |
0 |
$size >= 100 ? : |