| blib/lib/Elastijk/oo.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 7 | 30 | 23.3 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 69 | 0 | 2 | 4 | $index and exists $args{'type'} | 
| 2 | 2 | 2 | $index and exists $args{'type'} and not exists $args{'id'} | |
| 126 | 0 | 0 | 0 | substr($status, 0, 1) eq '2' and @{$res->{'hits'}{'hits'};} > 0 | 
| 128 | 0 | 0 | 0 | defined $r and not $r | 
| 149 | 0 | 0 | 0 | defined $r and not $r | 
| 157 | 0 | 0 | 0 | substr($status, 0, 1) eq '2' and @{$res->{'hits'}{'hits'};} > 0 | 
| 159 | 0 | 0 | 0 | defined $r and not $r | 
| line | l | !l | condition | 
|---|---|---|---|
| 74 | 0 | 2 | $res->{'version'}{'number'} || '' | 
| 113 | 0 | 0 | $uri_param{'scroll'} ||= '10m' | 
| 141 | 0 | 0 | $uri_param{'scroll'} ||= '10m' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 18 | 0 | 36 | 0 | $args->{$_} ||= $self->{$_} |