Branch Coverage

blib/lib/Net/GitHub/V3/Query.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
61 0 0 if ($self->is_main_module)
62 0 0 if ($self->is_repos_init)
65 0 0 if ($self->is_issue_init)
68 0 0 if ($self->is_pull_request_init)
71 0 0 if ($self->is_git_data_init)
84 0 0 if defined $v
128 0 0 if (@args == 1) { }
0 0 elsif (@args > 1 and not grep({$args[0] eq $_;} 'GET', 'POST', 'PUT', 'PATCH', 'HEAD', 'DELETE')) { }
140 0 0 if ($self->has_access_token) { }
0 0 elsif ($self->has_login and $self->has_pass) { }
147 0 0 unless $url =~ /^https\:/
148 0 0 if ($request_method eq 'GET')
149 0 0 unless ($url =~ /per_page=\d/)
159 0 0 if $ENV{'NG_DEBUG'}
162 0 0 if ($data)
164 0 0 if $ENV{'NG_DEBUG'} and $ENV{'NG_DEBUG'} > 1
179 0 0 if ($self->api_throttle)
180 0 0 if ($self->rate_limit_remaining || 0) < ($self->rate_limit || 60) / 2
184 0 0 if $ENV{'NG_DEBUG'} and $ENV{'NG_DEBUG'} > 1
185 0 0 if $self->raw_response
186 0 0 if $self->raw_string
188 0 0 if ($res->header('Content-Type') and $res->header('Content-Type') =~ m[application/json]) { }
191 0 0 unless ($data)
194 0 0 unless $res->is_error
201 0 0 if ($self->RaiseError)
203 0 0 if (not $res->is_success and ref $data eq 'HASH' and exists $data->{'message'})
207 0 0 if (exists $data->{'errors'})
218 0 0 if ($res->header('link'))
224 0 0 if (wantarray)
225 0 0 if ref $data eq 'ARRAY'
226 0 0 if ref $data eq 'HASH'
270 0 0 if ($cached_res) { }
274 0 0 if ($res->code == 304)
320 0 0 if ($is_u_repo || index($url, '/repos/%s/%s') > -1 and @_ < $n + $args)
329 0 0 $args ? :
330 0 0 if ($check_status) { }
335 0 0 index($res->header('Status'), $check_status) > -1 ? :