Branch Coverage

blib/lib/Web/Solid/Auth.pm
Criterion Covered Total %
branch 0 68 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
219 0 0 unless $webid
233 0 0 unless path($cache_dir)->child("access.json")->exists
241 0 0 unless $json
252 0 0 unless $res
261 0 0 if ($_->{'relation'} eq "http://openid.net/specs/connect/1.0/issuer")
266 0 0 if ($issuer) { }
282 0 0 unless $res
306 0 0 unless -d $cache_dir
314 0 0 unless (-f $cache_file)
315 0 0 if ($self->client_id) { }
338 0 0 unless $data
352 0 0 unless $json
366 0 0 unless -d $cache_dir
370 0 0 unless (-f $cache_file)
378 0 0 unless $data
391 0 0 unless $json
400 0 0 unless -d $cache_dir
404 0 0 unless (-f $cache_file)
422 0 0 unless $json
438 0 0 unless ($response->is_success)
459 0 0 unless ($response->is_success)
477 0 0 unless ($response->is_success)
492 0 0 unless ($response->is_success)
510 0 0 if (@qparam)