line |
true |
false |
branch |
28
|
3 |
2 |
$conf->{'server.port'} ? : |
29
|
2 |
3 |
unless $conf->{'server.host'} |
30
|
1 |
2 |
unless $port |
39
|
1 |
1 |
unless ($e->indices->exists('index', $index)) |
171
|
1 |
2 |
unless $e |
185
|
1 |
1 |
if (not defined $doc_exists && int $doc_exists) { } |
210
|
1 |
6 |
unless $e |
247
|
0 |
6 |
unless scalar @$hits |
254
|
0 |
6 |
if ref $hit->{'_source'}{'platform'} ne 'ARRAY' |
255
|
0 |
6 |
if scalar @{$opts{'versions'};} and not $hit->{'_source'}{'version'} |
258
|
1 |
5 |
unless &List::Util::any(sub {
$hit->{'_source'}{'version'} eq $_;
}
, @{$opts{'versions'};}) |
259
|
0 |
5 |
if scalar @{$opts{'platforms'};} and not $hit->{'_source'}{'platform'} |
264
|
1 |
4 |
unless &List::Util::all(sub {
my $p = $_;
grep {$_ eq $p;} @{$$hit{'_source'}{'platform'};};
}
, @{$opts{'platforms'};}) |
265
|
1 |
3 |
unless $hit->{'_source'}{'name'} eq $opts{'case'} |
284
|
3 |
0 |
if $opts{'status'} |
289
|
1 |
2 |
if $res->{'result'} eq 'updated' |
290
|
1 |
2 |
unless (grep {$res->{'result'} eq $_;} 'updated', 'noop') |
297
|
3 |
3 |
unless $attempts |