line |
true |
false |
branch |
28
|
0 |
0 |
if (not defined $AsposeOcrCloud::Configuration::app_sid or $AsposeOcrCloud::Configuration::app_sid eq '')
|
32
|
0 |
0 |
if (not defined $AsposeOcrCloud::Configuration::api_key or $AsposeOcrCloud::Configuration::api_key eq '')
|
61
|
0 |
0 |
unless (looks_like_number($seconds))
|
87
|
0 |
0 |
if ($AsposeOcrCloud::Configuration::debug)
|
91
|
0 |
0 |
if defined $body_data and $body_data->can('to_hash')
|
92
|
0 |
0 |
keys %$post_params > 1 ? :
|
98
|
0 |
0 |
if ($method eq 'POST') { }
|
|
0 |
0 |
elsif ($method eq 'PUT') { }
|
|
0 |
0 |
elsif ($method eq 'GET') { }
|
|
0 |
0 |
elsif ($method eq 'HEAD') { }
|
|
0 |
0 |
elsif ($method eq 'DELETE') { }
|
|
0 |
0 |
elsif ($method eq 'PATCH') { }
|
101
|
0 |
0 |
lc $header_params->{'Content-Type'} eq 'multipart/form' ? :
|
109
|
0 |
0 |
lc $header_params->{'Content-Type'} eq 'multipart/form' ? :
|
136
|
0 |
0 |
unless ($_response->is_success)
|
162
|
0 |
0 |
if (is_array($object)) { }
|
197
|
0 |
0 |
if (ref $value eq 'DateTime') { }
|
215
|
0 |
0 |
if (not defined $data) { }
|
|
0 |
0 |
elsif (substr($class, 0, 5) eq 'HASH[') { }
|
|
0 |
0 |
elsif (substr($class, 0, 6) eq 'ARRAY[') { }
|
|
0 |
0 |
elsif ($class eq 'DateTime') { }
|
|
0 |
0 |
elsif (grep /^$class$/, ('string', 'int', 'float', 'bool', 'object')) { }
|
218
|
0 |
0 |
if ($class =~ /^HASH\[(.*),(.*)\]$/) { }
|
223
|
0 |
0 |
if (ref $decoded_data->{$key} eq 'HASH') { }
|
235
|
0 |
0 |
if $data eq '[]'
|
241
|
0 |
0 |
if (ref $_value eq 'ARRAY') { }
|
254
|
0 |
0 |
if (ref $data eq 'HASH') { }
|
270
|
0 |
0 |
if (@header == 0 or @header == 1 and $header[0] eq '') { }
|
|
0 |
0 |
elsif (grep m[^application/json$]i, @header) { }
|
287
|
0 |
0 |
if (@header == 0 or @header == 1 and $header[0] eq '') { }
|
|
0 |
0 |
elsif (grep m[^application/json$]i, @header) { }
|
301
|
0 |
0 |
if ($class eq 'ResponseMessage')
|
302
|
0 |
0 |
if (defined $content_type and lc $content_type ne 'application/json')
|
311
|
0 |
0 |
if (defined $content_type and not $content_type =~ /json/)
|