Condition Coverage

lib/Mojolicious/Plugin/FormTamperingProtector.pm
Criterion Covered Total %
condition 17 18 94.4


and 3 conditions

line !l l&&!r l&&r condition
30 2 1 50 $req->method eq 'POST' and grep {$_ eq $req->url->path;} @$actions
57 1 51 1 $c->res->headers->content_type =~ qr"^text/html" and $c->res->body =~ qr/
121 1 0 71 $value and $secret
1 3 68 $value and $secret and $value =~ s/--([^\-]+)$//

or 2 conditions

line l !l condition
32 49 1 $c->session($sess_key) || ''
107 35 2 shift() // (return)
111 75 5 shift() // (return)