Condition Coverage

blib/lib/Catalyst/Plugin/Session.pm
Criterion Covered Total %
condition 23 62 37.1


and 3 conditions

line !l l&&!r l&&r condition
63 2 1 2 $c->isa("Catalyst::Plugin::Session::State") and $c->isa("Catalyst::Plugin::Session::Store")
96 0 0 1 $c->_session_plugin_config->{'flash_to_stash'} and $c->sessionid
0 0 1 $c->_session_plugin_config->{'flash_to_stash'} and $c->sessionid and my $flash_data = $c->flash
206 0 0 2 not exists $keep->{$key} and Object::Signature::signature(\$flash_data->{$key}) eq $hashes->{$key}
257 6 0 0 $c->_session_plugin_config->{'verify_address'} and exists $session_data->{'__address'}
0 0 0 $c->_session_plugin_config->{'verify_address'} and exists $session_data->{'__address'} and $session_data->{'__address'} ne $c->request->address
269 6 0 0 $c->_session_plugin_config->{'verify_user_agent'} and $session_data->{'__user_agent'} ne $c->request->user_agent

or 2 conditions

line l !l condition
46 14 1 $c->config->{'session'} || {}
203 3 3 $c->_flash_key_hashes || {}
204 1 5 $c->_flash_keep_keys || {}
253 6 0 $c->get_session_data("session:$sid") || (return)
318 0 6 +($data || $c->_session || {})->{'__expire_keys'} || {}
390 0 0 $c->_session_plugin_config->{'expiry_threshold'} || 0
420 0 0 $expires ||= 0
430 6 0 $c->get_session_data("expires:$sid") || 0
593 0 0 $c->request->address || ''
0 0 $c->request->user_agent || ''

or 3 conditions

line l !l&&r !l&&!r condition
46 0 15 0 $c->config->{'Plugin::Session'} ||= $c->config->{'session'} || {}
396 0 0 0 not $threshold or $cutoff <= time
0 0 0 not $threshold or $cutoff <= time or $c->_session_updated
468 41 0 0 $c->_sessionid || $c->_load_sessionid
512 10 0 0 $c->_session || $c->_load_session || do {
531 0 0 0 $c->_flash_keep_keys || $c->_flash_keep_keys({})
537 7 3 3 $c->_flash or $c->_load_flash