| lib/Hetula/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 35 | 45.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 184 | 0 | 3 | 17 | $ssns and @$ssns |
| 383 | 0 | 0 | 1 | $username and $injectHere |
| 384 | 0 | 0 | 1 | $password and $injectHere |
| 385 | 0 | 0 | 1 | $organization and $injectHere |
| 386 | 0 | 0 | 1 | $baseURL and $injectHere |
| line | l | !l | condition |
|---|---|---|---|
| 242 | 5 | 0 | $ENV{'MOCK_BAD_CONNECTION'} || 10 |
| 257 | 21 | 9 | $res->{'ssn'}{'id'} // '' |
| 9 | 21 | $res->{'error'} // '' | |
| 415 | 18 | 3 | $res->json || {'OK', $tx->res->code} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 326 | 0 | 0 | 0 | $params->{'id'} || $params->{'username'} |
| 340 | 0 | 1 | 0 | $params->{'id'} || $params->{'username'} |
| 356 | 0 | 1 | 0 | $params->{'id'} || $params->{'username'} |
| 419 | 1 | 0 | 0 | $tx->res->body || $error->{'message'} || $error->{'code'} |