| lib/Hetula/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 33 | 42.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 184 | 0 | 3 | 18 | $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 | 6 | 0 | $ENV{'MOCK_BAD_CONNECTION'} || 10 |
| 257 | 21 | 9 | $res->{'ssn'}{'id'} // '' |
| 9 | 21 | $res->{'error'} // '' |
| 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'} |