| blib/lib/GitLab/API/v4/RESTClient.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 22 | 31.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 166 | 8 | 0 | 3 | $verb eq 'POST' and ref $content eq 'HASH' |
| 8 | 3 | 0 | $verb eq 'POST' and ref $content eq 'HASH' and $content->{'file'} | |
| 170 | 0 | 0 | 0 | -f $file and -r $file |
| 221 | 11 | 0 | 0 | $res->{'status'} eq '404' and $verb eq 'GET' |
| 227 | 11 | 0 | 0 | $res->{'status'} eq '403' and $verb eq 'GET' |
| 11 | 0 | 0 | $res->{'status'} eq '403' and $verb eq 'GET' and $raw_path eq 'projects/:project_id/releases/:tag_name' |
| line | l | !l | condition |
|---|---|---|---|
| 249 | 0 | 0 | $res->{'content'} || '' |
| 259 | 0 | 0 | $res->{'reason'} || 'Unknown' |