Branch Coverage

blib/lib/Web/Solid/Auth.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
89 0 0 if $openid->exists
92 0 0 if $client->exists
95 0 0 if $access->exists
138 0 0 unless $code
149 0 0 ref $token_endpoint_auth_methods_supported eq 'ARRAY' ? :
174 0 0 if (grep /^client_secret_basic/, @$token_endpoint_auth_methods_supported) { }
0 0 elsif (grep /^client_secret_post/, @$token_endpoint_auth_methods_supported) { }
185 0 0 unless $data
192 0 0 unless -d $cache_dir
205 0 0 unless $access
230 0 0 unless path($cache_dir)->child("access.json")->exists
238 0 0 unless $json
249 0 0 unless $res
258 0 0 if ($_->{'relation'} eq "http://openid.net/specs/connect/1.0/issuer")
263 0 0 if ($issuer) { }
279 0 0 unless $res
303 0 0 unless -d $cache_dir
311 0 0 unless (-f $cache_file)
312 0 0 if ($self->client_id) { }
335 0 0 unless $data
349 0 0 unless $json
360 0 0 unless -d $cache_dir
364 0 0 unless (-f $cache_file)
372 0 0 unless $data
385 0 0 unless $json
394 0 0 unless -d $cache_dir
398 0 0 unless (-f $cache_file)
416 0 0 unless $json
432 0 0 unless ($response->is_success)
453 0 0 unless ($response->is_success)
471 0 0 unless ($response->is_success)
486 0 0 unless ($response->is_success)
504 0 0 if (@qparam)