blib/lib/DBIx/Class/Storage/DBI/mysql/Retryable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 27 | 59.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
260 | 6 | 1 | 3 | $self->_retryable_current_timeout and $self->enable_retryable |
275 | 0 | 0 | 0 | $self->_retryable_current_timeout and $self->enable_retryable |
303 | 0 | 0 | 0 | $dbi_attr and ref $dbi_attr eq "HASH" |
317 | 12 | 1 | 5 | $self->_retryable_current_timeout and $self->enable_retryable |
526 | 11 | 6 | 0 | $self->_failed_attempt_count && $self->_retryable_current_timeout |
587 | 0 | 0 | 2 | &blessed($error) and $error->isa("DBIx::Class::Exception") |
line | l | !l | condition |
---|---|---|---|
184 | 1 | 1 | $opts->{'max_attempts'} // 8 |
192 | 13 | 1 | $opts->{'max_actual_duration'} // 50 |
221 | 21 | 0 | +(shift())->_retryable_timer->{'_attempts'} // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
398 | 5 | 0 | 17 | $self->{'_in_do_block'} or $self->transaction_depth |