Condition Coverage

blib/lib/GitLab/API/v4/RESTClient.pm
Criterion Covered Total %
condition 7 22 31.8


and 3 conditions

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
220 11 0 0 $res->{'status'} eq '404' and $verb eq 'GET'
226 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'

or 2 conditions

line l !l condition
248 0 0 $res->{'content'} || ''
258 0 0 $res->{'reason'} || 'Unknown'