blib/lib/WebPrototypes/ResetPass.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 14 | 35.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
87 | 0 | 0 | 0 | $$env{'SERVER_PORT'} && $$env{'SERVER_PORT'} != 80 |
105 | 0 | 1 | 2 | $user && $pass_token eq $token |
line | l | !l | condition |
---|---|---|---|
87 | 1 | 0 | $$env{'psgi.url_scheme'} // 'http' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
87 | 1 | 0 | 0 | $$env{'HTTP_HOST'} // $$env{'SERVER_NAME'} . ($$env{'SERVER_PORT'} && $$env{'SERVER_PORT'} != 80 ? ':' . $$env{'SERVER_PORT'} : '') |
0 | 1 | 0 | $$env{'HTTP_ORIGIN'} // ($$env{'psgi.url_scheme'} // 'http') . '://' . ($$env{'HTTP_HOST'} // $$env{'SERVER_NAME'} . ($$env{'SERVER_PORT'} && $$env{'SERVER_PORT'} != 80 ? ':' . $$env{'SERVER_PORT'} : '')) |