blib/lib/Catalyst/Plugin/CSRFToken.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 12 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
164 | 2 | 2 | 2 | ($self->req->method eq 'POST' || $self->req->method eq 'PUT' || $self->req->method eq 'PATCH') && !($self->check_csrf_token || $self->check_single_use_csrf_token) |
184 | 0 | 0 | 0 | $self->can("session") and $self->session->{'current_csrf_token'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
178 | 0 | 0 | 0 | $self->req->method eq "POST" or $self->req->method eq "PUT" |
0 | 0 | 0 | $self->req->method eq "POST" or $self->req->method eq "PUT" or $self->req->method eq "PATCH" |