Condition Coverage

blib/lib/Catalyst/Plugin/Session/Store/Cookie.pm
Criterion Covered Total %
condition 14 29 48.2


and 3 conditions

line !l l&&!r l&&r condition
24 5 1 16 exists $self->{'__cookie_session_store_cache__'} and exists $self->{'__cookie_session_store_cache__'}{$key}
59 3 0 0 $sec == 2 and $self->req->secure

or 2 conditions

line l !l condition
78 0 1 $cfg->{'storage_cookie_expires'} || '+1d'
84 1 0 $cfg->{'storage_secret_key'} || die(q[storage_secret_key' configuration param for 'Catalyst::Plugin::Session::Store::Cookie' is missing!])
0 1 $cfg->{'sereal_encoder_options'} || {'snappy', 1, 'stringify_unknown', 1}
0 1 $cfg->{'sereal_decoder_options'} || {'validate_utf8', 1}
87 0 1 $cfg->{'storage_cookie_secure'} || 0
88 0 1 $cfg->{'storage_cookie_httponly'} || 1
89 0 1 $cfg->{'storage_cookie_samesite'} || 'Lax'

or 3 conditions

line l !l&&r !l&&!r condition
37 4 0 0 eval {
58 3 0 0 $sec == 0 or $sec == 2
77 0 1 0 $cfg->{'storage_cookie_name'} || Catalyst::Utils::appprefix($class) . '_store'