| blib/lib/WWW/VastAI/API/Instances.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 23 | 21.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 69 | 0 | 0 | 1 | defined $new_id and not ref $new_id |
| 127 | 0 | 1 | 0 | ref $result eq "HASH" and $result->{'result_url'} |
| line | l | !l | condition |
|---|---|---|---|
| 40 | 0 | 0 | $result->{'instances'} || $result->{'results'} || [] |
| 0 | 0 | $result || [] | |
| 145 | 0 | 0 | $result->{'ssh_keys'} || $result->{'results'} || [] |
| 0 | 0 | $result || [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 49 | 4 | 0 | 0 | $self->_extract_instance($result) || $result |
| 57 | 2 | 0 | 1 | $params{'image'} or $params{'template_hash_id'} |
| 138 | 0 | 0 | 0 | $result->{'logs'} || $result->{'result'} || $result |