blib/lib/Yancy/Plugin/Auth/Token.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 10 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
278 | 0 | 2 | 1 | not $where and $user |
281 | 2 | 0 | 0 | $where and match($where, $user) |
line | l | !l | condition |
---|---|---|---|
159 | 0 | 0 | $config->{'schema'} || $config->{'collection'} || die("Error configuring Auth::Token plugin: No schema defined\n") |
170 | 1 | 0 | $config->{'token_field'} || $config->{'password_field'} || 'token' |