Branch Coverage

blib/lib/OpenSearch/Client/Role/CxnPool.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
62 0 200 unless @$cxns
74 67 45 if $self->randomize_cxns
97 33 13 if ($error->is('Cxn', 'Timeout')) { }
98 26 7 if $self->should_mark_dead($error)
101 25 8 if ($self->should_retry($error))
103 19 6 if $retries < $self->_max_retries
107 1 12 if $cxn