| blib/lib/Mojolicious/Plugin/WithCSRFProtection.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 8 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 8 | 1 | unless $c->render_maybe("bad_csrf") |
| 31 | 9 | 6 | unless ($csrf and $csrf eq $c->csrf_token) |
| 32 | 9 | 0 | unless $c->stash->{'mojo.finished'} |
| 43 | 1 | 0 | if ($Mojolicious::VERSION >= 9) { } |