| blib/lib/WebService/Futu.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 7 | 24 | 29.1 | 
| line | true | false | branch | 
|---|---|---|---|
| 82 | 0 | 3 | unless (defined $hash{'user'} || defined $hash{'id'} and defined $hash{'pass'}) | 
| 86 | 2 | 1 | if exists $hash{'user'} | 
| 87 | 2 | 1 | if exists $hash{'id'} | 
| 89 | 1 | 2 | exists $hash{'url'} ? : | 
| 175 | 0 | 0 | if $content | 
| 183 | 0 | 0 | if ($body->code eq 200) { } | 
| 0 | 0 | elsif ($body->code eq 401) { } | |
| 184 | 0 | 0 | if ($body->content) { } | 
| 192 | 0 | 0 | if ($$self{'_user'}) { } | 
| 0 | 0 | elsif ($$self{'_id'}) { } | |
| 200 | 0 | 0 | if ($auth_body->code eq 200) { } | 
| 238 | 0 | 0 | if ($content) |