| blib/lib/ElasticSearch/RequestParser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 69 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 382 | 0 | 0 | 0 | $$params{'type'} and not $$params{'index'} |
| 545 | 0 | 0 | 0 | $on_conflict and $error =~ / VersionConflictEngineException | DocumentAlreadyExistsException /x |
| 1270 | 0 | 0 | 0 | defined $actions and ref $actions ne 'ARRAY' |
| 1342 | 0 | 0 | 0 | defined $$params{'warmer'} and length $$params{'warmer'} |
| 1533 | 0 | 0 | 0 | not $$params{'mapping'} and grep {exists $$params{$_};} keys %{$defn{'deprecated'};} |
| 1891 | 0 | 0 | 0 | $$params{'commands'} and ref $$params{'commands'} ne 'ARRAY' |
| line | l | !l | condition |
|---|---|---|---|
| 366 | 0 | 0 | $$params{'actions'} || [] |
| 476 | 0 | 0 | $@ || 'Unknown error' |
| 483 | 0 | 0 | $action ||= '' |
| 484 | 0 | 0 | $Bulk_Actions{$action} || die("Unknown action '${action}'") |
| 765 | 0 | 0 | $$params{'queries'} || [] |
| 822 | 0 | 0 | $@ || 'Unknown error' |
| 1948 | 0 | 0 | shift() || '' |
| 1949 | 0 | 0 | shift() || {} |
| 1955 | 0 | 0 | $$defn{'method'} || 'GET' |
| 1958 | 0 | 0 | $@ || 'Unknown error' |
| 2048 | 0 | 0 | shift() || {} |
| 2052 | 0 | 0 | $format_name ||= '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 182 | 0 | 0 | 0 | $$params{$_} ||= $$self{'_default'}{$_} |
| 490 | 0 | 0 | 0 | $$params{'data'} ||= delete $$params{'_source'} |
| 531 | 0 | 0 | 0 | ref $results eq 'HASH' && $$results{'items'} || $self->throw('Request', 'Malformed response to bulk query', $results) |
| 586 | 0 | 0 | 0 | $builder ||= $self->builder |
| 1535 | 0 | 0 | 0 | $$params{'type'} || $$self{'_default'}{'type'} |
| 1545 | 0 | 0 | 0 | $$args{'data'}{'mapping'} || $$args{'data'} |
| 2003 | 0 | 0 | 0 | $type == 1 || $type == 6 |
| 2122 | 0 | 0 | 0 | $type == 2 or $type == 5 |
| 2123 | 0 | 0 | 0 | $type == 1 or $type == 6 |