Condition Coverage

blib/lib/Prancer/Database/Driver.pm
Criterion Covered Total %
condition 0 16 0.0


and 3 conditions

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

or 2 conditions

line l !l condition
36 0 0 $$config{'connection_check_threshold'} || 30
54 0 0 $$self{'_handles'}{$pid_tid} || undef

or 3 conditions

line l !l&&r !l&&!r condition
97 0 0 0 'DBI'->connect(@{$$self{'_dsn'};}) || croak("${\$DBI::errstr;}\n")