Branch Coverage

blib/lib/Net/OAuth2Server/Response.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
15 0 0 unless $param{'error'} = $type
16 0 0 if defined $desc
23 0 0 unless 'Net::OAuth2Server::Set'->new($class->supported_response_types)->contains_all($req->response_type->list)
29 0 0 if ($self = $req->error) { }
0 0 elsif ($grant) { }
32 0 0 if $req->response_type->contains('token')
33 0 0 if $req->response_type->contains('code')
45 0 0 unless $grant
48 0 0 if $grant->provides_refresh_token
60 0 0 if defined $value and '' ne $value
66 0 0 if $self->is_error
67 0 0 unless defined $_[1]
89 0 0 (shift())->is_error ? :
93 0 0 unless $self->is_error
101 0 0 unless my $uri = $self->redirect_uri
105 0 0 $uri =~ /\?/ ? :
0 0 $self->use_fragment ? :