Branch Coverage

blib/lib/Dancer2/Core/Role/SessionFactory.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
100 1 10045 if $self->has_cookie_duration
109 0 10046 if $@
129 10047 0 if ($CPRNG_AVAIL) { }
175 53 1 if $self->validate_id($id)
177 3 51 unless $rc
182 51 0 if $data and XXX
185 1 50 if $self->has_cookie_duration
207 0 3 if $@
221 0 17 if $@
236 0 49 if $@
254 0 88 unless XXX and $session->isa("Dancer2::Core::Session")
265 2 86 if $self->has_cookie_same_site
268 0 88 if $self->has_cookie_domain
271 14 74 if (my $expires = $session->expires)
284 0 0 unless XXX