| blib/lib/ClearPress/authenticator/db.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 22 | 59.0 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 0 | 3 | if ($v) |
| 40 | 0 | 3 | if ($self->{'table'}) |
| 50 | 0 | 3 | if ($v) |
| 54 | 0 | 3 | if ($self->{'username_field'}) |
| 64 | 0 | 3 | if ($v) |
| 68 | 0 | 3 | if ($self->{'password_field'}) |
| 78 | 0 | 3 | if ($v) |
| 82 | 0 | 3 | if ($self->{'cipher'}) |
| 92 | 2 | 3 | unless ($ref and $ref->{'username'} and $ref->{'password'}) |
| 105 | 0 | 3 | unless ($cipher) |
| 113 | 2 | 1 | unless (scalar @{$results;}) |