line |
true |
false |
branch |
88
|
0 |
2 |
unless $str |
90
|
0 |
2 |
if substr($str, -1) eq "/" |
93
|
0 |
2 |
unless $url->protocol =~ /^http(?:s)?$/u |
94
|
0 |
2 |
unless exists $url->path->parts->[0] |
96
|
0 |
2 |
unless $username and $password |
98
|
2 |
0 |
if ($username and $password) |
152
|
3 |
4 |
$loc && $loc ne '' ? : |
156
|
2 |
5 |
$body ? : |
162
|
0 |
4 |
if $r->json and exists $r->json->{'error'} |
163
|
1 |
6 |
unless $r->is_success |
175
|
0 |
0 |
$loc && $loc ne '' ? : |
179
|
0 |
0 |
if ($body) |
184
|
0 |
0 |
if exists $r->res->json->{'error'} |
194
|
0 |
0 |
if exists $r->res->json->{'error'} |
195
|
0 |
0 |
unless $r->is_success |
208
|
2 |
2 |
unless $sc |
210
|
2 |
0 |
unless &reftype($sc) |
212
|
0 |
0 |
unless &reftype($sc) eq "HASH" |
223
|
1 |
3 |
unless $id |
232
|
2 |
2 |
unless $idx |
233
|
1 |
1 |
unless &reftype($idx) |
235
|
1 |
0 |
unless &reftype($idx) eq "HASH" |
245
|
2 |
4 |
unless $doc |
246
|
1 |
3 |
unless &reftype($doc) |
248
|
1 |
2 |
unless &reftype($doc) eq "HASH" |
250
|
0 |
2 |
unless defined $doc |
259
|
2 |
2 |
unless defined $docs |
260
|
1 |
1 |
unless &reftype($docs) |
263
|
1 |
0 |
unless &reftype($docs) eq "ARRAY" |
274
|
2 |
2 |
unless $query |
275
|
2 |
0 |
unless &reftype($query) |
277
|
0 |
0 |
unless $query and &reftype($query) eq "HASH" |