blib/lib/Prancer/Session/Store/Database/Driver.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 21 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
67 | 0 | 0 | 0 | $$handle{'dbh'}{'Active'} and $$self{'_check_threshold'} |
0 | 0 | 0 | $$handle{'dbh'}{'Active'} and $$self{'_check_threshold'} and time - $$handle{'last_connection_check'} < $$self{'_check_threshold'} | |
120 | 0 | 0 | 0 | $$dbh{'Active'} and my $result = $dbh->ping |
line | l | !l | condition |
---|---|---|---|
43 | 0 | 0 | $$config{'connection_check_threshold'} || 30 |
44 | 0 | 0 | $$config{'table'} || 'sessions' |
45 | 0 | 0 | $$config{'expiration_timeout'} || 1800 |
46 | 0 | 0 | $$config{'autopurge'} || 1 |
64 | 0 | 0 | $$self{'_handles'}{$pid_tid} || undef |
107 | 0 | 0 | 'DBI'->connect(@{$$self{'_dsn'};}) || die("${\$DBI::errstr;}\n") |