lib/Slovo/Controller/Auth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 17 | 52.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
93 | 20 | 0 | 3 | $route =~ /^(show|edit|update|remove)_users$/ux and $e_user |
0 | 2 | 1 | $e_user->{'created_by'} != $uid and $e_user->{'id'} != $uid | |
20 | 2 | 1 | $route =~ /^(show|edit|update|remove)_users$/ux and $e_user and ($e_user->{'created_by'} != $uid and $e_user->{'id'} != $uid) | |
150 | 0 | 0 | 1 | $row and $checksum2 eq $csrf_digest |
175 | 0 | 1 | 0 | $c->logout and $c->user($c->users->find_by_login_name("guest")) |
line | l | !l | condition |
---|---|---|---|
184 | 0 | 0 | $c->req->headers->referrer || 'nowhere' |