Condition Coverage

blib/lib/Metabrik/Client/Elasticsearch.pm
Criterion Covered Total %
condition 0 270 0.0


and 3 conditions

line !l l&&!r l&&r condition
541 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
633 0 0 0 $action eq "indices:data/write/reindex" and not exists $tasks{$task}
809 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
822 0 0 0 defined $p and exists $p->{'class'}
869 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
884 0 0 0 defined $p and exists $p->{'class'}
923 0 0 0 defined $p and exists $p->{'class'}
982 0 0 0 defined $p and exists $p->{'class'}
1021 0 0 0 defined $p and exists $p->{'class'}
1059 0 0 0 defined $index and $index ne "*"
1063 0 0 0 defined $type and $type ne "*"
1091 0 0 0 exists $r->{'hits'} and exists $r->{'hits'}{'total'}
1330 0 0 0 defined $proceed and $proceed
2489 0 0 0 $number =~ /^\d+$/ and $number > 0
2725 0 0 0 defined $dump and length $dump
2731 0 0 0 defined $node and $node =~ /^http/
0 0 0 defined $node and $node =~ /^http/ and $code =~ /^\d+$/
0 0 0 defined $node and $node =~ /^http/ and $code =~ /^\d+$/ and defined $dump
0 0 0 defined $node and $node =~ /^http/ and $code =~ /^\d+$/ and defined $dump and ref $dump eq "HASH"
2776 0 0 0 defined $p and exists $p->{'class'}
2806 0 0 0 $format ne "csv" and $format ne "json"
2949 0 0 0 $max > 0 and $exported >= $max
3034 0 0 0 $format ne "csv" and $format ne "json"
3041 0 0 0 defined $index and defined $type
3133 0 0 0 defined $value and length $value
3150 0 0 0 defined $hash and defined $hash->{'routing'}
0 0 0 defined $hash and defined $hash->{'routing'} and defined $$h{$hash->{'routing'}}
3177 0 0 0 $first and $self->is_index_exists($index)
3200 0 0 0 $max > 0 and $imported >= $max
3246 0 0 0 defined $number_of_replicas and $self->use_indexing_optimizations
3294 0 0 0 defined $index and defined $type
3389 0 0 0 defined $value and length $value
3438 0 0 0 $first and $self->is_index_exists($index)
3464 0 0 0 $max > 0 and $imported >= $max
3516 0 0 0 defined $number_of_replicas and $self->use_indexing_optimizations
3887 0 0 0 exists $run->{'hits'} and exists $run->{'hits'}{'total'}

or 2 conditions

line l !l condition
306 0 0 $self->max_flush_count || 1000
307 0 0 $self->max_flush_size || 1000000
390 0 0 $query ||= {"query", {"match_all", {}}}
474 0 0 $count ||= 1
704 0 0 $sec ||= 60
2424 0 0 $indices ||= "*"
2799 0 0 $size ||= 10000
2886 0 0 $this->{'_type'} || '_doc'
2998 0 0 $size ||= 10000
3011 0 0 $size ||= 10000
3211 0 0 $duration || 1
3481 0 0 $duration || 1
3961 0 0 $repository_name ||= "repository"
3984 0 0 $repository_name ||= "repository"
4055 0 0 $snapshot_name ||= "snapshot"
4056 0 0 $repository_name ||= "repository"
4084 0 0 $snapshot_name ||= "snapshot"
4085 0 0 $repository_name ||= "repository"
4167 0 0 $snapshot_name ||= "snapshot"
4168 0 0 $repository_name ||= "repository"
4223 0 0 $snapshot_name ||= "snapshot"
4224 0 0 $repository_name ||= "repository"
4253 0 0 $snapshot_name ||= "snapshot"
4254 0 0 $repository_name ||= "repository"

or 3 conditions

line l !l&&r !l&&!r condition
222 0 0 0 $nodes ||= $self->nodes
223 0 0 0 $cxn_pool ||= $self->cxn_pool
282 0 0 0 $index ||= $self->index
283 0 0 0 $type ||= $self->type
352 0 0 0 $index ||= $self->index
353 0 0 0 $size ||= $self->size
391 0 0 0 $index ||= $self->index
392 0 0 0 $type ||= $self->type
393 0 0 0 $size ||= $self->size
516 0 0 0 $index ||= $self->index
517 0 0 0 $type ||= $self->type
746 0 0 0 $index ||= $self->index
747 0 0 0 $type ||= $self->type
792 0 0 0 $index ||= $self->index
793 0 0 0 $type ||= $self->type
846 0 0 0 $index ||= $self->index
847 0 0 0 $type ||= $self->type
949 0 0 0 $index ||= $self->index
950 0 0 0 $type ||= $self->type
1053 0 0 0 $index ||= $self->index
1054 0 0 0 $type ||= $self->type
1117 0 0 0 $index ||= $self->index
1118 0 0 0 $type ||= $self->type
1165 0 0 0 $index ||= $self->index
1166 0 0 0 $type ||= $self->type
1199 0 0 0 $index ||= $self->index
1200 0 0 0 $type ||= $self->type
1786 0 0 0 $index ||= $self->index
2035 0 0 0 $nodes ||= $self->nodes
2051 0 0 0 $nodes ||= $self->nodes
3046 0 0 0 $index ||= $this_index
3047 0 0 0 $type ||= $this_type
3060 0 0 0 $index ||= $self->index
3061 0 0 0 $type ||= $self->type
3298 0 0 0 $index ||= $this_index
3299 0 0 0 $type ||= $this_type
3312 0 0 0 $index ||= $self->index
3313 0 0 0 $type ||= $self->type