Condition Coverage

blib/lib/DBIx/RetryOverDisconnects.pm
Criterion Covered Total %
condition 0 53 0.0


and 3 conditions

line !l l&&!r l&&r condition
453 0 0 0 $$self{'private_DBIx-RetryOverDisconnects_data'}{'callback'} and my $code = $$self{'private_DBIx-RetryOverDisconnects_data'}{'callback'}{'afterReconnect'}

or 2 conditions

line l !l condition
175 0 0 delete $$attrs{'ReconnectInterval'} || 1
0 0 delete $$attrs{'ReconnectTimeout'} || 5
0 0 delete $$attrs{'TxnRetries'} || 4
213 0 0 $$self{'private_DBIx-RetryOverDisconnects_data'}{'callback'} || {}
554 0 0 $$from{'ParamTypes'} || {}
556 0 0 $$from{'ParamArrays'} || {}
562 0 0 $$from{'ParamValues'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
322 0 0 0 $DBI::errstr || $@
367 0 0 0 /lost\s+connection/i or /can't\s+connect/i
0 0 0 /lost\s+connection/i or /can't\s+connect/i or /server\s+shutdown/i
0 0 0 /lost\s+connection/i or /can't\s+connect/i or /server\s+shutdown/i or /MySQL\s+server\s+has\s+gone\s+away/i
375 0 0 0 /server\s+closed\s+the\s+connection\s+unexpectedly/i or /terminating connection/
0 0 0 /server\s+closed\s+the\s+connection\s+unexpectedly/i or /terminating connection/ or /no\s+more\s+connections\s+allowed/
0 0 0 /server\s+closed\s+the\s+connection\s+unexpectedly/i or /terminating connection/ or /no\s+more\s+connections\s+allowed/ or /no\s+working\s+server\s+connection/
0 0 0 /server\s+closed\s+the\s+connection\s+unexpectedly/i or /terminating connection/ or /no\s+more\s+connections\s+allowed/ or /no\s+working\s+server\s+connection/ or /_timeout/
0 0 0 /server\s+closed\s+the\s+connection\s+unexpectedly/i or /terminating connection/ or /no\s+more\s+connections\s+allowed/ or /no\s+working\s+server\s+connection/ or /_timeout/ or /pgbouncer\s+cannot\s+connect\s+to\s+server/
391 0 0 0 /ORA-03135/ or /ORA-03113/
409 0 0 0 not $$data{'retries'} or $i <= $$data{'retries'}
543 0 0 0 $DBI::errstr || $@