Branch Coverage

blib/lib/WWW/PayPal/Role/HTTP.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
37 0 0 unless $self->client_id
38 0 0 unless $self->secret
51 0 0 unless ($res->is_success)
64 0 0 if $self->_access_token and time < $self->_token_expires_at
74 0 0 if $args{'query'}
81 0 0 unless $args{'headers'}
85 0 0 if (defined $args{'body'})
88 0 0 if (ref $args{'body'}) { }
100 0 0 if (length $body and $body =~ /\A\s*[\{\[]/)
104 0 0 unless ($res->is_success)
106 0 0 ref $data eq 'HASH' ? :