blib/lib/Search/Elasticsearch/Role/CxnPool/Sniff.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 13 | 84.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
70 | 3 | 0 | 43 | $sniff_max and $data->{'http'} |
81 | 1 | 22 | 1 | $sniff_max and $max |
line | l | !l | condition |
---|---|---|---|
72 | 2 | 41 | $data->{'http'}{'max_content_length_in_bytes'} || 0 |
95 | 51 | 2 | shift() || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
62 | 0 | 46 | 1 | $data->{'http'}{'publish_address'} || $data->{'http_address'} |