Branch Coverage

blib/lib/OpenSearch/Client/Role/CxnPool/Sniff.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
43 12 0 unless defined $params->{'sniff_max_content_length'}
59 13 25 unless my $nodes = shift()
68 1 46 unless my $host = $self->_extract_host($addr)
71 0 46 unless $host = $self->should_accept_node($host, $node_id, $data)
75 3 43 unless $sniff_max and $data->{'http'}
78 1 1 $max == 0 ? :
41 2 $node_max == 0 ? :
84 1 24 unless @live_nodes
86 1 23 if $sniff_max and $max