Branch Coverage

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


line true false branch
40 0 200 unless @$cxns
52 38 45 if $self->randomize_cxns
75 33 14 if ($error->is('Cxn', 'Timeout')) { }
76 26 7 if $self->should_mark_dead($error)
79 25 8 if ($self->should_retry($error))
81 19 6 if $retries < $self->_max_retries
85 1 13 if $cxn