blib/lib/DBIx/Class/Storage/DBI/mysql/Retryable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 27 | 59.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
275 | 6 | 1 | 3 | $self->_retryable_current_timeout and $self->enable_retryable |
290 | 0 | 0 | 0 | $self->_retryable_current_timeout and $self->enable_retryable |
318 | 0 | 0 | 0 | $dbi_attr and ref $dbi_attr eq "HASH" |
332 | 11 | 1 | 5 | $self->_retryable_current_timeout and $self->enable_retryable |
558 | 11 | 6 | 0 | $self->_failed_attempt_count && $self->_retryable_current_timeout |
622 | 0 | 0 | 2 | &blessed($error) and $error->isa("DBIx::Class::Exception") |
line | l | !l | condition |
---|---|---|---|
199 | 1 | 1 | $opts->{'max_attempts'} // 8 |
207 | 15 | 1 | $opts->{'max_actual_duration'} // 50 |
236 | 21 | 0 | +(shift())->_retryable_timer->{'_attempts'} // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
417 | 4 | 0 | 17 | $self->{'_in_do_block'} or $self->transaction_depth |