Branch Coverage

blib/lib/Bintray/API/Session.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
67 0 0 if ($opts{'username'} and $opts{'apikey'})
72 0 0 $opts{'hascreds'} ? :
146 0 0 unless ($opts{'anon'})
147 0 0 unless $self->hascreds
163 0 0 if (@query_parts)
172 0 0 if (@param_parts)
180 0 0 $opts{'content'} ? :
189 0 0 unless ($$response{'success'})
190 0 0 $$response{'status'} ne '404' ? :
198 0 0 if $self->debug
204 0 0 if ($$response{'content'})
216 0 0 if (exists $$api_headers{'x-ratelimit-limit'} and exists $$api_headers{'x-ratelimit-remaining'})
226 0 0 if ($opts{'wantheaders'})
266 0 0 unless defined $response
269 0 0 if (ref $$response{'data'} eq 'ARRAY') { }
288 0 0 if $num_of_results >= $max_results
289 0 0 if $num_of_results >= $_total
293 0 0 if ($opts{'wantheaders'})