| line |
true |
false |
branch |
|
39
|
0 |
0 |
if ($$self{'httpfs_mode'}) |
|
43
|
0 |
0 |
if $err |
|
53
|
0 |
0 |
if ($$self{'httpfs_mode'}) |
|
57
|
0 |
0 |
if $err |
|
69
|
0 |
0 |
if $err |
|
81
|
0 |
0 |
if $err |
|
93
|
0 |
0 |
if $err |
|
95
|
0 |
0 |
unless ($dest =~ m[^/]) |
|
107
|
0 |
0 |
if $err |
|
118
|
0 |
0 |
if $err |
|
129
|
0 |
0 |
if $err |
|
140
|
0 |
0 |
if $err |
|
151
|
0 |
0 |
if $err |
|
162
|
0 |
0 |
if $err |
|
174
|
0 |
0 |
if $err |
|
186
|
0 |
0 |
if $err |
|
188
|
0 |
0 |
unless (defined $options{'owner'} or defined $options{'group'}) |
|
203
|
0 |
0 |
if $err |
|
218
|
0 |
0 |
if $err |
|
220
|
0 |
0 |
unless (defined $options{'modificationtime'} or defined $options{'accesstime'}) |
|
244
|
0 |
0 |
if scalar grep({$k eq $_;} @$opts) < 1 |
|
246
|
0 |
0 |
unless @ex |
|
252
|
5 |
3 |
if $$res{'code'} == 200 and $$res{'content_type'} =~ m[^application/json] |
|
258
|
9 |
1 |
if $path =~ m[^/] |
|
264
|
4 |
3 |
$$self{'username'} ? : |
|
|
2 |
5 |
$$self{'doas'} ? : |
|
275
|
0 |
0 |
if ($$self{'under_failover'}) |
|
288
|
0 |
0 |
if ($$self{'httpfs_mode'} or not $REDIRECTED_OPERATIONS{$op}) |
|
290
|
0 |
0 |
if ($$self{'httpfs_mode'} and defined $payload) |
|
298
|
0 |
0 |
unless ($$res{'code'} >= 300 and $$res{'code'} <= 399 and $$res{'location'}) |
|
317
|
0 |
0 |
$op ? : |
|
318
|
0 |
0 |
$payload ? : |
|
333
|
0 |
0 |
if ($header =~ /^location$/i) { } |
|
|
0 |
0 |
elsif ($header =~ /^content-type$/i) { } |
|
337
|
0 |
0 |
if $code >= 200 and $code <= 299 |
|
338
|
0 |
0 |
if $code >= 300 and $code <= 399 |
|
343
|
0 |
0 |
if ($code == 400) { } |
|
|
0 |
0 |
elsif ($code == 401) { } |
|
|
0 |
0 |
elsif ($code == 403) { } |
|
|
0 |
0 |
elsif ($code == 404) { } |
|
|
0 |
0 |
elsif ($code == 500) { } |
|
346
|
0 |
0 |
if ($errmsg =~ /org\.apache\.hadoop\.ipc\.StandbyException/) |
|
347
|
0 |
0 |
if ($$self{'httpfs_mode'} or not defined $$self{'standby_host'}) { } |
|
|
0 |
0 |
elsif ($$self{'retrying'}) { } |