blib/lib/HTML/FormFu/Element/RequestToken.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
31 | 1 | 25 | $self->verify_token($value) ? : |
38 | 24 | 10 | unless $token |
42 | 0 | 10 | unless $form->submitted |
49 | 0 | 10 | unless $c->session->{$self->session_key} |
50 | 7 | 41 | if $_->[0] eq $token |
62 | 2 | 23 | unless $c->session->{$self->session_key} |
63 | 252 | 1 | if $_->[1] > time |
66 | 2 | 23 | if @token > $self->limit |