Condition Coverage

blib/lib/Catalyst/Plugin/Session/Store/Cookie.pm
Criterion Covered Total %
condition 10 23 43.4


and 3 conditions

line !l l&&!r l&&r condition
42 3 0 0 $sec == 2 and $self->req->secure

or 2 conditions

line l !l condition
61 0 1 $cfg->{'storage_cookie_expires'} || '+1d'
67 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}
70 0 1 $cfg->{'storage_cookie_secure'} || 0
71 0 1 $cfg->{'storage_cookie_httponly'} || 1
72 0 1 $cfg->{'storage_cookie_samesite'} || 'Lax'

or 3 conditions

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