Condition Coverage

blib/lib/Catalyst/Plugin/CSRFToken.pm
Criterion Covered Total %
condition 3 12 25.0


and 3 conditions

line !l l&&!r l&&r condition
159 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)
179 0 0 0 $self->can("session") and $self->session->{'current_csrf_token'}

or 3 conditions

line l !l&&r !l&&!r condition
173 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"