Condition Coverage

blib/lib/Mojolicious/Plugin/OIDC.pm
Criterion Covered Total %
condition 8 20 40.0


and 3 conditions

line !l l&&!r l&&r condition
111 8 0 4 $plugin and $plugin->client->provider eq $client->provider
140 0 0 1 builtin::blessed($e) and $e->isa("OIDC::Client::Error")

or 2 conditions

line l !l condition
50 0 0 $app->config->{'oidc_client'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
69 3 0 1 not $path or $seen_path{$path}++
136 1 0 0 $auth_data->{'target_url'} || $c->url_for('/')
169 0 0 0 $logout_data->{'target_url'} || $c->url_for('/')
183 2 0 10 $provider //= $self->_oidc_config->{'default_provider'}