Branch Coverage

blib/lib/Google/Ads/GoogleAds/Common/OAuth2BaseHandler.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
61 14 4 $proxy ? :
69 0 0 unless ($access_token)
74 0 0 $api_client->get_die_on_faults ? :
95 2 4 unless ($self->__is_access_token_valid)
96 2 0 unless ($self->_refresh_access_token)
126 2 4 unless ($access_token)
130 2 2 unless ($self->get_access_token_expires)
135 0 2 unless ($response->is_success)
137 0 0 $self->get_api_client->get_die_on_faults ? :
147 0 4 unless (exists $token_scopes{$required_scope})
173 4 3 if ($1 and $2) { }