line |
true |
false |
branch |
41
|
0 |
10 |
if ($@ or $Furl::VERSION < 3.08) |
54
|
0 |
0 |
defined $_[0] ? : |
58
|
0 |
0 |
defined $_[0] ? : |
77
|
0 |
0 |
if (my $output = delete $args->{'output'}) |
78
|
0 |
0 |
if (ref $output eq 'CODE') { } |
|
0 |
0 |
elsif (ref $output) { } |
86
|
0 |
0 |
unless $args->{'write_file'} |
96
|
0 |
0 |
if ($self->access_token and $args->{'url'} ne 'https://notify.dropboxapi.com/2/files/list_folder/longpoll') |
106
|
0 |
0 |
if ($args->{'url'} eq 'https://api.dropboxapi.com/oauth2/token') { } |
|
0 |
0 |
elsif ($args->{'url'} =~ qr" \A https://(?:api|notify).dropboxapi.com "msx) { } |
|
0 |
0 |
elsif ($args->{'url'} =~ qr" \A https://content.dropboxapi.com "msx) { } |
114
|
0 |
0 |
if ($params) |
124
|
0 |
0 |
if ($params) |
127
|
0 |
0 |
if ($args->{'content'}) |
133
|
0 |
0 |
if ($WebService::Dropbox::USE_LWP) { } |
142
|
0 |
0 |
$self->res->code =~ qr/ \A [23] /msx ? : |
148
|
0 |
0 |
if (not $res_json and $res->header('Content-Type') =~ qr" \A (?:application/json|text/javascript) "msx) |
152
|
0 |
0 |
if ($res_json and $res_json ne 'null') |
156
|
0 |
0 |
if ($WebService::Dropbox::DEBUG or not $is_success) |
157
|
0 |
0 |
$is_success ? : |
158
|
0 |
0 |
$is_success ? : |
161
|
0 |
0 |
if ($WebService::Dropbox::VERBOSE) { } |
177
|
0 |
0 |
$args->{'content'} && $params ? : |
|
0 |
0 |
ref $args->{'content'} ? : |
|
0 |
0 |
$res_data ? : |
184
|
0 |
0 |
$params ? : |
195
|
0 |
0 |
unless ($is_success) |
196
|
0 |
0 |
unless ($self->error) |
210
|
0 |
0 |
unless $args->{'headers'} |
212
|
0 |
0 |
if ($args->{'write_file'}) |
219
|
0 |
0 |
if ($args->{'content'} and UNIVERSAL::can($args->{'content'}, 'read')) |
227
|
0 |
0 |
unless $_[0] |
240
|
0 |
0 |
if ($args->{'content'} and ref $args->{'content'} eq 'HASH') { } |
268
|
0 |
0 |
if (my $write_file = delete $args->{'write_file'}) |
274
|
0 |
0 |
if (my $write_code = delete $args->{'write_code'}) |
276
|
0 |
0 |
if ($_[0] =~ qr/ \A 2 /msx) { } |
292
|
0 |
0 |
if ($self->{'env_proxy'}) |
300
|
0 |
0 |
unless ($self->{'furl'}) |
307
|
0 |
0 |
if $self->{'env_proxy'} |
317
|
0 |
0 |
if scalar @_ == 1 |
318
|
0 |
0 |
scalar @_ == 2 ? : |
323
|
1 |
1 |
defined $_[1] ? : |