Branch Coverage

blib/lib/CatalystX/OAuth2/Store/DBIC.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
40 0 0 unless my $client = $self->find_client($id)
47 11 3 unless defined $id
49 0 3 unless my $client = $self->find_client($id)
61 5 6 $id ? :
68 0 0 unless my $code_row = $self->find_client_code($id, $code)
75 0 0 unless my $code_row = $self->find_client_code($id, $code)
82 0 0 unless my $client = $self->find_client($id)
89 0 3 unless my $code_row = $self->find_client_code($code)
91 2 1 unless $with_refresh
105 0 1 unless my $refresh_row = $self->_client_model->find_refresh($refresh)
112 0 1 unless my $refresh_row = $self->_client_model->find_refresh($refresh)
126 0 3 unless defined $access_token
129 3 0 if (my $token = $token_rs->find($access_token))