Branch Coverage

blib/lib/Catalyst/Plugin/Session/State/Cookie.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
24 0 0 if (my $cookie = $c->get_session_cookie)
42 2 0 unless ($c->cookie_is_rejecting($updated))
51 2 2 if ($$cookie{'path'})
52 1 1 if index '/' . $c->request->path, $$cookie{'path'}
62 0 2 $$cfg{'cookie_domain'} ? :
0 2 $$cfg{'cookie_path'} ? :
69 2 0 unless (exists $$cookie{'expires'})
73 0 2 if $$cfg{'cookie_secure'}
80 0 0 unless $c->NEXT::calc_expiry(@_)
88 0 2 if $value
90 0 2 if (exists $$cfg{'cookie_expires'}) { }
91 0 0 if ($$cfg{'cookie_expires'} > 0) { }
114 1 1 if (my $cookie = $c->get_session_cookie)
116 0 1 if $c->debug
117 1 0 if $sid