| blib/lib/App/ElasticSearch/Utilities/Aggregations.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 25 | 24.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 133 | 0 | 1 | 2 | $paramStr and $paramStr =~ /\w+=/ |
| 137 | 0 | 0 | 2 | $k and $v |
| 190 | 0 | 0 | 0 | $result->{'key'} and exists $result->{'doc_count'} |
| 227 | 0 | 0 | 0 | $buckets and @{$buckets;} |
| line | l | !l | condition |
|---|---|---|---|
| 155 | 0 | 0 | $parent ||= [] |
| 194 | 0 | 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 | 0 | 0 | 0 | $ks || $k |