Condition Coverage

blib/lib/Mojolicious/Plugin/WithCSRFProtection.pm
Criterion Covered Total %
condition 6 6 100.0


and 3 conditions

line !l l&&!r l&&r condition
62 3 6 6 $csrf and $csrf eq $c->csrf_token

or 3 conditions

line l !l&&r !l&&!r condition
59 4 8 3 $c->req->headers->header('X-CSRF-Token') || $c->param('csrf_token')