Branch Coverage

blib/lib/Dancer2/Plugin/CSRFI.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
64 3 2 if ($self->validate_post)
73 0 5 if (my $token = $self->template_token)
94 0 14 if (defined $session and not $self->refresh) { }
115 0 12 unless (defined $token)
121 5 7 unless (defined $session)
142 0 14 $path eq '/' ? :
168 5 5 unless ($app->request->is_post)
175 0 5 unless (&any(sub {
183 3 2 if (not $success) { }
220 2 3 if ($success)