lib/CGI/Auth/Auto.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 29 | 20.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
253 | 0 | 0 | 0 | defined $self->get_cgi->param($param) and $self->get_cgi->param($param) eq $runmode |
line | l | !l | condition |
---|---|---|---|
20 | 0 | 1 | $$param{-'authfields'} ||= [{'id', 'user', 'display', 'User Name', 'hidden', 0, 'required', 1}, {'id', 'pw', 'display', 'Password', 'hidden', 1, 'required', 1}] |
32 | 0 | 0 | $$param{-'logintmpl'} ||= 'login.html' |
281 | 0 | 0 | $$self{'cookie_expire_time'} ||= '+1h' |
287 | 0 | 0 | $$self{'logout_param_name'} ||= 'logout' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
15 | 0 | 1 | 0 | ref $proto || $proto |
25 | 0 | 1 | 0 | $$param{-'authdir'} ||= _guess_authdir() |
27 | 0 | 1 | 0 | $$param{-'formaction'} ||= CGI::Scriptpaths::script_rel_path() |
28 | 0 | 1 | 0 | $$param{-'sessdir'} ||= $$param{-'authdir'} . '/sess' |
30 | 0 | 0 | 1 | defined $$param{-'logintmplpath'} or defined $$param{-'logintmpl'} |
31 | 0 | 0 | 0 | $$param{-'logintmplpath'} ||= $$param{-'authdir'} |