Condition Coverage

blib/lib/Prancer/Session/Store/Database/Driver.pm
Criterion Covered Total %
condition 10 23 43.4


and 3 conditions

line !l l&&!r l&&r condition
66 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'}
118 0 0 0 $$dbh{'Active'} and my $result = $dbh->ping

or 2 conditions

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