Branch Coverage

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


line true false branch
65 3 2 if ($self->validate_post)
74 0 5 if (my $token = $self->template_token)
95 0 14 if (defined $session and not $self->refresh) { }
116 0 12 unless (defined $token)
122 5 7 unless (defined $session)
143 0 14 $path eq '/' ? :
177 5 5 unless ($app->request->is_post)
184 0 5 unless (&any(sub {
192 3 2 if (not $success) { }
222 2 3 if ($success)