lib/Mojolicious/Plugin/DeCSRF.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 11 | 81.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
21 | 4 | 0 | 1 | $base->on_mismatch and ref $base->on_mismatch eq 'CODE' |
51 | 3 | 2 | 3 | $c->req->param($self->token_name) and $c->req->param($self->token_name) eq $token |
75 | 6 | 0 | 17 | @{$self->urls;} and $url |
line | l | !l | condition |
---|---|---|---|
61 | 9 | 1 | shift() // '' |