Branch Coverage

blib/lib/Plack/Auth/SSO/OIDC.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
108 0 0 if ($res->code ne 200)
115 0 0 if (index($res->content_type, "json") < 0)
130 0 0 if (defined $data_error)
147 0 0 unless defined $data
160 0 0 unless is_string($jwks_uri)
165 0 0 if scalar @errors
177 0 0 if ($idx >= 0)
220 0 0 unless is_string($val)
278 0 0 if defined $claims_error
296 0 0 is_array_ref($token_endpoint_auth_methods_supported) ? :
317 0 0 if (grep {$_ eq 'client_secret_basic';} @$token_endpoint_auth_methods_supported) { }
0 0 elsif (grep {$_ eq 'client_secret_post';} @$token_endpoint_auth_methods_supported) { }
341 0 0 unless $res->content_type =~ /json/o
360 0 0 if ($self->log->is_debug)
368 0 0 if ($request->method ne "GET")
383 0 0 unless (is_string($stored_state) and is_string($state))
397 0 0 if ($stored_state ne $state)
414 0 0 if (is_string($error))
429 0 0 unless (is_string($code))
448 0 0 if $self->log->is_debug
451 0 0 if (is_string($tokens->{'error'}))
466 0 0 if $self->log->is_debug
486 0 0 if $self->log->is_debug