blib/lib/App/ElasticSearch/Utilities/Aggregations.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 25 | 52.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
133 | 0 | 1 | 2 | $paramStr and $paramStr =~ /\w+=/u |
137 | 0 | 0 | 2 | $k and $v |
190 | 0 | 0 | 4 | $result->{'key'} and exists $result->{'doc_count'} |
228 | 0 | 0 | 3 | $buckets and @{$buckets;} |
line | l | !l | condition |
---|---|---|---|
155 | 4 | 3 | $parent ||= [] |
195 | 4 | 0 | delete $result->{'doc_count'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
117 | 0 | 1 | 0 | $alias ||= $def |
145 | 1 | 2 | 0 | $alias ||= join(".", $agg eq "terms" ? $field : ($agg, $field)) |
193 | 1 | 3 | 0 | $ks || $k |