| line |
true |
false |
branch |
|
40
|
0 |
0 |
unless defined $size and $size > 0 |
|
43
|
0 |
0 |
if defined $proxy |
|
54
|
0 |
0 |
if ($scheme ne 'sftp') |
|
65
|
0 |
0 |
unless defined $path and length $path |
|
72
|
0 |
0 |
if ($sftp->error) |
|
81
|
0 |
0 |
if ($method eq 'GET' or $method eq 'HEAD') |
|
83
|
0 |
0 |
unless my $stat = $sftp->stat($path) |
|
87
|
0 |
0 |
if (defined $ims) |
|
89
|
0 |
0 |
if (defined $time and $time >= $stat->mtime) |
|
101
|
0 |
0 |
if (S_ISDIR($stat->perm)) |
|
104
|
0 |
0 |
unless my $ls = $sftp->ls($path, 'ordered', 1, @{$DEFAULTS{'ls'};}) |
|
109
|
0 |
0 |
if S_ISDIR($$_{'a'}->perm) |
|
121
|
0 |
0 |
if defined $user |
|
123
|
0 |
0 |
if defined $port |
|
137
|
0 |
0 |
if $method eq 'HEAD' |
|
148
|
0 |
0 |
if ($method ne 'HEAD') |
|
149
|
0 |
0 |
unless my $fh = $sftp->open($path) |
|
152
|
0 |
0 |
defined $content ? : |
|
153
|
0 |
0 |
unless $sftp->close($fh) |
|
159
|
0 |
0 |
if ($method eq 'PUT') |
|
160
|
0 |
0 |
unless my $fh = $sftp->open($path, 26) |
|
164
|
0 |
0 |
unless my $bytes = $sftp->write($fh, $content) |
|
168
|
0 |
0 |
unless $sftp->close($fh) |
|
178
|
0 |
0 |
if ($@) |