Branch Coverage

blib/lib/Prancer/Database/Driver.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
16 0 0 defined $_ ? :
22 0 0 unless ($$config{'database'})
51 0 0 if $INC{'threads.pm'}
56 0 0 if ($$handle{'dbh'}) { }
57 0 0 if ($$handle{'dbh'}{'Active'} and $$self{'_check_threshold'} and time - $$handle{'last_connection_check'} < $$self{'_check_threshold'}) { }
63 0 0 if (_check_connection($$handle{'dbh'})) { }
71 0 0 if ($$handle{'dbh'})
82 0 0 if ($$handle{'dbh'})
99 0 0 defined $_ ? :
109 0 0 unless $dbh
111 0 0 if ($$dbh{'Active'} and my $result = $dbh->ping)
112 0 0 if (int $result) { }