Branch Coverage

blib/lib/Apertur/SDK/HTTPClient.pm
Criterion Covered Total %
branch 3 34 8.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'})
82 0 0 if ($status >= 400)
86 0 0 if ($status == 204)
100 0 0 if $self->{'auth_header'}
110 0 0 if ($status >= 400)
125 0 0 if ($@)
132 0 0 if ($status == 401) { }
0 0 elsif ($status == 404) { }
0 0 elsif ($status == 429) { }
0 0 elsif ($status == 400) { }
140 0 0 defined $retry_after ? :