Condition Coverage

blib/lib/Prancer/Session/Store/Database/Driver.pm
Criterion Covered Total %
condition 12 30 40.0


and 3 conditions

line !l l&&!r l&&r condition
68 0 0 6 $$handle{'dbh'}{'Active'} and $$self{'_check_threshold'}
0 0 6 $$handle{'dbh'}{'Active'} and $$self{'_check_threshold'} and time - $$handle{'last_connection_check'} < $$self{'_check_threshold'}
123 0 0 0 $$dbh{'Active'} and my $result = $dbh->ping
300 0 0 0 $hr and $hl

or 2 conditions

line l !l condition
40 0 3 $$config{'connection_check_threshold'} // 30
41 0 3 $$config{'dsn_extra'} || {}
42 0 3 $$config{'on_connect'} || []
43 0 3 $$config{'table'} || 'sessions'
44 3 0 $$config{'expiration_timeout'} // 1800
45 3 0 $$config{'autopurge'} // 1
46 3 0 $$config{'autopurge_probability'} || 0.1
65 6 3 $$self{'_handles'}{$pid_tid} || undef
105 2 0 'DBI'->connect(@{$$self{'_dsn'};}) || die("${\$DBI::errstr;}\n")