| blib/lib/WebPrototypes/Registration.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 12 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 1 | 0 | if not defined $self->email_validator |
| 47 | 2 | 1 | if ($req->method eq 'POST') |
| 50 | 1 | 1 | if ($self->find_user($username)) |
| 53 | 1 | 1 | unless ($self->email_validator->address($email)) |
| 56 | 1 | 0 | unless ($uerror or $eerror) |
| 94 | 0 | 0 | $$env{'SERVER_PORT'} && $$env{'SERVER_PORT'} != 80 ? : |