| blib/lib/WWW/VastAI/API/Endpoints.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 16 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 1 | 0 | ref $result eq 'HASH' ? : |
| 33 | 0 | 1 | unless $params{'endpoint_name'} |
| 34 | 0 | 1 | unless exists $params{'min_load'} |
| 35 | 0 | 1 | unless exists $params{'target_util'} |
| 38 | 1 | 0 | ref $result eq 'HASH' ? : |
| 44 | 0 | 1 | unless defined $id |
| 50 | 0 | 1 | unless $endpoint_name |
| 57 | 0 | 1 | unless defined $endpoint_id |