Branch Coverage

blib/lib/Catalyst/Plugin/Authentication/Basic/Remote.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
62 0 0 if ($c->session->{'user'} and $c->session->{'password'})
72 0 0 if ($c->config->{'authentication'}{'auth_url'})
73 0 0 if ($c->req->header('Authorization') and my($tokens) = $c->req->header('Authorization') =~ /^Basic (.+)$/)
86 0 0 if ($res->code ne '401') { }
99 0 0 unless ($c->req->{'user'})
118 0 0 if ($c->config->{'authentication'}{'template'})
121 0 0 if ($view and $c->res->status eq '401')
138 0 0 unless $c->session->{'user'}
139 0 0 if $c->_login
141 0 0 if ($c->config->{'authentication'}{'auth_url'})
144 0 0 if $c->session->{'user'}
145 0 0 if $c->session->{'password'}
165 0 0 unless $c->config->{'authentication'}{'auth_url'}
167 0 0 if $c->session->{'user'}
168 0 0 if $c->session->{'password'}
170 0 0 if $c->req->{'user'}
171 0 0 if $c->req->{'password'}