Branch Coverage

blib/lib/CatalystX/OAuth2/Request/GrantAuth.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
37 4 1 $self->has_state ? :
39 0 5 unless $self->response_type eq 'code'
49 0 5 unless my $client = $store->find_client($self->client_id)
57 2 3 unless my $code = $store->find_client_code($self->code, $self->client_id)
64 3 0 if ($self->has_approval)
66 1 2 unless $self->approved