Branch Coverage

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


line true false branch
114 0 0 if ($res->code ne 200)
121 0 0 if (index($res->content_type, "json") == -1)
136 0 0 if (defined $data_error)
153 0 0 unless defined $data
166 0 0 unless is_string($jwks_uri)
171 0 0 if scalar @errors
183 0 0 if ($idx >= 0)
226 0 0 unless is_string($val)
284 0 0 if defined $claims_error
302 0 0 is_array_ref($token_endpoint_auth_methods_supported) ? :
323 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) { }
347 0 0 unless $res->content_type =~ /json/o
366 0 0 if ($self->log->is_debug)
374 0 0 if ($request->method ne "GET")
389 0 0 unless (is_string($stored_state) and is_string($state))
403 0 0 if ($stored_state ne $state)
420 0 0 if (is_string($error))
435 0 0 unless (is_string($code))
454 0 0 if $self->log->is_debug
457 0 0 if (is_string($tokens->{'error'}))
472 0 0 if $self->log->is_debug
485 0 0 if ($self->store_oidc_response)
494 0 0 if $self->log->is_debug