Branch Coverage

blib/lib/Plack/Middleware/Session/SerializedCookie.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
17 6 0 unless defined $$self{'session_key'}
30 18 6 defined $cookie ? :
31 0 24 if $@ and $$self{'deserialize_exception'}
38 0 24 if exists $$self{'expires'}
40 0 24 if (not defined $$env{'psgix.session'} or $$env{'psgix.session.option'} and $$env{'psgix.session.option'}{'expire'}) { }
49 0 24 if $@ and $$self{'serialize_exception'}