| line |
true |
false |
branch |
|
15
|
0 |
0 |
unless $param{$required} |
|
27
|
0 |
0 |
if ($$self{'opt'}{'body'} and $$self{'opt'}{'body'}{$p}) |
|
34
|
0 |
0 |
if ($http_method eq 'POST' or $http_method eq 'PUT' or $http_method eq 'PATCH' or $http_method eq 'DELETE') { } |
|
|
0 |
0 |
elsif ($http_method eq 'GET') { } |
|
40
|
0 |
0 |
if ($$self{'opt'}{'body'}) { } |
|
52
|
0 |
0 |
if ($$arg{'key'}) |
|
58
|
0 |
0 |
if ($$arg{'auth_driver'}) |
|
65
|
0 |
0 |
if ($response->code == 401 and $$arg{'auth_driver'}) |
|
73
|
0 |
0 |
unless ($response->is_success) |
|
76
|
0 |
0 |
if ($response->code == 204) |
|
79
|
0 |
0 |
$response->header('content-type') =~ m[^application/json] ? : |
|
88
|
0 |
0 |
if ($response->content and $response->header('content-type') =~ m[^application/json]) |