Branch Coverage

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


line true false branch
92 0 0 if ($res->code ne 200)
99 0 0 if (index($res->content_type, "json") < 0)
114 0 0 if (defined $data_error)
131 0 0 unless defined $data
144 0 0 unless is_string($jwks_uri)
149 0 0 if scalar @errors
161 0 0 if ($idx >= 0)
244 0 0 if defined $claims_error
262 0 0 is_array_ref($token_endpoint_auth_methods_supported) ? :
283 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) { }
307 0 0 unless $res->content_type =~ /json/o
326 0 0 if ($self->log->is_debug)
334 0 0 if ($request->method ne "GET")
344 0 0 if (is_hash_ref($auth_sso))
356 0 0 unless (is_string($stored_state) and is_string($state))
370 0 0 if ($stored_state ne $state)
387 0 0 if (is_string($error))
402 0 0 unless (is_string($code))
421 0 0 if $self->log->is_debug
424 0 0 if (is_string($tokens->{'error'}))
439 0 0 if $self->log->is_debug
459 0 0 if $self->log->is_debug