Branch Coverage

blib/lib/Apertur/SDK/HTTPClient.pm
Criterion Covered Total %
branch 3 38 7.8


line true false branch
23 2 1 if ($args{'api_key'}) { }
1 0 elsif ($args{'oauth_token'}) { }
49 0 0 if $self->{'auth_header'}
52 0 0 if ($opts{'multipart'}) { }
61 0 0 if $headers->{'Authorization'}
64 0 0 if $key eq "Authorization"
73 0 0 if (defined $opts{'body'})
80 0 0 if (defined $opts{'timeout'}) { }
86 0 0 if $err
93 0 0 if ($status >= 400)
97 0 0 if ($status == 204)
111 0 0 if $self->{'auth_header'}
121 0 0 if ($status >= 400)
136 0 0 if ($@)
143 0 0 if ($status == 401) { }
0 0 elsif ($status == 404) { }
0 0 elsif ($status == 429) { }
0 0 elsif ($status == 400) { }
151 0 0 defined $retry_after ? :