blib/lib/DBIx/Connector/Retry/MySQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 18 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
318 | 1 | 2 | 48 | $self->_current_timeout and $self->enable_retry_handler |
322 | 0 | 0 | 48 | $dbi_attr and ref $dbi_attr eq 'HASH' |
336 | 1 | 2 | 26 | $self->_current_timeout and $self->enable_retry_handler |
432 | 7 | 0 | 8 | $self->failed_attempt_count && $self->_current_timeout |
line | l | !l | condition |
---|---|---|---|
88 | 1 | 2 | $opts->{'max_attempts'} // 8 |
130 | 46 | 0 | +(shift())->_timer->{'_attempts'} // 0 |
321 | 44 | 4 | $self->connect_info->[3] //= {} |