Branch Coverage

blib/lib/Amazon/CreatorsAPI/Auth.pm
Criterion Covered Total %
branch 4 16 25.0


line true false branch
28 0 1 unless my $credential_id = shift()
29 0 1 unless my $credential_secret = shift()
30 0 1 unless my $credential_version = shift()
49 0 0 if ($self->_is_valid_token)
66 0 0 if ($self->is_lwa) { }
101 0 0 unless ($res->{'success'})
112 0 0 if (my $e = $@)
135 0 1 unless ($version and exists $AUTH_ENDPOINT_MAP->{$version})