Branch Coverage

blib/lib/Search/Elasticsearch/Role/CxnPool.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
57 0 200 unless @$cxns
69 67 45 if $self->randomize_cxns
92 33 13 if ($error->is('Cxn', 'Timeout')) { }
93 26 7 if $self->should_mark_dead($error)
96 25 8 if ($self->should_retry($error))
98 19 6 if $retries < $self->_max_retries
102 1 12 if $cxn