| blib/lib/OIDC/Client/Plugin.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 36 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 491 | 7 | 0 | 1 | $self->is_base_url_local and my $mocked_access_token = $self->client->mocked_access_token |
| 548 | 3 | 0 | 1 | $self->is_base_url_local and my $mocked_userinfo = $self->client->mocked_userinfo |
| 931 | 25 | 0 | 1 | $self->is_base_url_local and my $mocked_identity = $self->client->mocked_identity |
| 1009 | 45 | 0 | 2 | $self->is_base_url_local and my $mocked_access_token = $self->client->mocked_access_token |
| line | l | !l | condition |
|---|---|---|---|
| 291 | 0 | 8 | $self->client->scope // "" |
| 774 | 1 | 1 | ($params{'with_id_token'} // $self->client->logout_with_id_token) // 1 |
| 1131 | 83 | 10 | $audience_store ||= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 210 | 0 | 1 | 2 | $params{'redirect_uri'} || $self->login_redirect_uri |
| 279 | 6 | 0 | 1 | $params{'redirect_uri'} || $self->login_redirect_uri |
| 774 | 1 | 0 | 1 | $params{'with_id_token'} // $self->client->logout_with_id_token |
| 780 | 1 | 1 | 0 | $params{'post_logout_redirect_uri'} || $self->logout_redirect_uri |
| 843 | 1 | 1 | 0 | $self->get_stored_access_token || 'OIDC::Client::Error'->throw('OIDC: access token has not been retrieved from token endpoint') |
| 879 | 1 | 0 | 0 | $self->get_stored_access_token || 'OIDC::Client::Error'->throw('OIDC: access token has not been retrieved from token endpoint') |