line |
!l |
l&&!r |
l&&r |
condition |
133
|
4 |
0 |
0 |
defined $opt_ref and XXX
|
347
|
0 |
0 |
0 |
length $exec and -x $exec
|
408
|
0 |
0 |
0 |
$resp->code == 500 and $resp->message eq "Server closed connection without sending any data back"
|
414
|
0 |
0 |
0 |
$ver->{'distribution'} and $ver->{'distribution'} eq "opensearch"
|
509
|
0 |
0 |
0 |
not defined $instance and defined $CLUSTER_MASTER
|
517
|
0 |
0 |
0 |
defined $cluster and $cluster->{'master_node'}
|
519
|
0 |
0 |
0 |
$local->{'nodes'} and $local->{'nodes'}{$cluster->{'master_node'}}
|
555
|
0 |
0 |
0 |
$url =~ /^_(cat|stats)/ and $index
|
569
|
0 |
0 |
0 |
$url eq '_search' && $options->{'method'} eq 'POST'
|
573
|
0 |
0 |
0 |
not $DEF{'NOOP'} and $DEF{'MASTERONLY'}
|
581
|
0 |
0 |
0 |
$DEF{'MASTERONLY'} && !es_master()
|
599
|
0 |
0 |
0 |
defined $resp->content && (XXX || length $resp->content)
|
676
|
0 |
0 |
0 |
!exists $args{'_all'} && defined $DEF{'BASE'}
|
679
|
0 |
0 |
0 |
not exists $args{'_all'} and $args{'check_state'}
|
|
0 |
0 |
0 |
not exists $args{'_all'} and $args{'check_state'} and $args{'state'} eq "open"
|
703
|
0 |
0 |
0 |
$args{'state'} ne "all" and $args{'check_state'}
|
712
|
0 |
0 |
0 |
$args{'older'} and defined $DEF{'DAYS'}
|
|
0 |
0 |
0 |
$args{'check_dates'} and defined $DEF{'DAYS'}
|
721
|
0 |
0 |
0 |
$DEF{'DAYS'} >= 0 and $days_old >= $DEF{'DAYS'}
|
767
|
0 |
0 |
24 |
defined $stripped and length $stripped
|
824
|
0 |
0 |
0 |
defined $result and XXX
|
836
|
0 |
0 |
0 |
defined $index and length $index
|
901
|
0 |
0 |
0 |
exists $ref->{'properties'} and XXX
|
902
|
0 |
0 |
0 |
$ref->{'type'} and $ref->{'type'} eq "nested"
|
912
|
0 |
0 |
0 |
exists $ref->{'fields'} and XXX
|
981
|
0 |
0 |
0 |
defined $index and length $index
|
|
0 |
0 |
0 |
defined $index and length $index and es_index_valid($index)
|
1066
|
0 |
0 |
0 |
exists $meta->{$check} and exists $meta->{$check}{$key}
|
line |
l |
!l&&r |
!l&&!r |
condition |
170
|
0 |
4 |
0 |
$ENV{'XDG_CONFIG_HOME'} || "$ENV{'HOME'}/.config"
|
297
|
0 |
0 |
0 |
$host ||= $DEF{'HOST'}
|
326
|
0 |
0 |
0 |
$auth{'username'} ||= $meta{'http-username'} ? $meta{'http-username'} : (defined $DEF{'USERNAME'} ? $DEF{'USERNAME'} : (defined $netrc ? $netrc->login : $ENV{'USER'}))
|
331
|
0 |
0 |
0 |
es_pass_exec($host, $auth{'username'}, $meta{'password-exec'}) || prompt(sprintf(q[Password for '%s' at '%s': ], $auth{'username'}, $host))
|
|
0 |
0 |
0 |
$auth{'password'} ||= defined $netrc ? $netrc->password : es_pass_exec($host, $auth{'username'}, $meta{'password-exec'}) || prompt(sprintf(q[Password for '%s' at '%s': ], $auth{'username'}, $host))
|
346
|
0 |
0 |
0 |
$exec ||= $DEF{'PASSEXEC'}
|
355
|
0 |
0 |
0 |
@err or $rc != 0
|
442
|
0 |
0 |
0 |
not defined $CURRENT_VERSION or $CURRENT_VERSION <= 2
|
478
|
0 |
0 |
0 |
$p ||= $conn{'port'}
|
501
|
0 |
0 |
0 |
$ES ||= "App::ElasticSearch::Utilities::Connection"->new(%conn)
|
714
|
0 |
0 |
0 |
not defined $days_old or $days_old < $DEF{'DAYS'}
|