blib/lib/Net/Google/DataAPI/Auth/OAuth2.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 14 | 21.4 |
line | true | false | branch |
---|---|---|---|
51 | 0 | 1 | unless my $token = $self->oauth2_webserver->get_access_token($code) |
63 | 0 | 0 | unless my $at = $self->access_token |
66 | 0 | 0 | unless $res->is_success |
67 | 0 | 0 | unless my(%res_params) = $self->oauth2_webserver->params_from_response($res) |
74 | 0 | 1 | unless my $at = $self->access_token |
75 | 0 | 1 | if ($at->expires_at and $at->expires_at < time) |
76 | 0 | 0 | unless $self->refresh_token |