Branch Coverage

blib/lib/OAuth/Lite2/Server/GrantHandler/RefreshToken.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
18 1 3 unless my $refresh_token = $req->param('refresh_token')
23 1 2 unless my $auth_info = $dh->get_auth_info_by_refresh_token($refresh_token)
25 0 2 unless $auth_info and $auth_info->isa('OAuth::Lite2::Model::AuthInfo')
29 1 1 unless $auth_info->client_id eq $client_id
35 0 1 unless $access_token and $access_token->isa('OAuth::Lite2::Model::AccessToken')
43 1 0 if $access_token->expires_in
45 1 0 if $auth_info->refresh_token
47 1 0 if $auth_info->scope