blib/lib/HTML/FormHandler/Field/RequestToken.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 14 | 21.4 |
line | true | false | branch |
---|---|---|---|
69 | 1 | 0 | unless ($self->verify_token($value)) |
79 | 0 | 1 | unless $token |
86 | 0 | 0 | if (my $prefix = $self->token_prefix) |
87 | 0 | 0 | unless $value =~ s/^\Q$prefix\E// |
91 | 1 | 0 | unless defined $value |
92 | 0 | 0 | unless $value =~ /^\d+$/ |
93 | 0 | 0 | if time > $value |