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
531 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
623 0 0 0 $action eq "indices:data/write/reindex" and not exists $tasks{$task}
799 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
812 0 0 0 defined $p and exists $p->{'class'}
859 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
874 0 0 0 defined $p and exists $p->{'class'}
913 0 0 0 defined $p and exists $p->{'class'}
972 0 0 0 defined $p and exists $p->{'class'}
1011 0 0 0 defined $p and exists $p->{'class'}
1049 0 0 0 defined $index and $index ne "*"
1053 0 0 0 defined $type and $type ne "*"
1081 0 0 0 exists $r->{'hits'} and exists $r->{'hits'}{'total'}
1320 0 0 0 defined $proceed and $proceed
2479 0 0 0 $number =~ /^\d+$/ and $number > 0
2715 0 0 0 defined $dump and length $dump
2721 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"
2766 0 0 0 defined $p and exists $p->{'class'}
2796 0 0 0 $format ne "csv" and $format ne "json"
2939 0 0 0 $max > 0 and $exported >= $max
3024 0 0 0 $format ne "csv" and $format ne "json"
3031 0 0 0 defined $index and defined $type
3123 0 0 0 defined $value and length $value
3140 0 0 0 defined $hash and defined $hash->{'routing'}
0 0 0 defined $hash and defined $hash->{'routing'} and defined $$h{$hash->{'routing'}}
3167 0 0 0 $first and $self->is_index_exists($index)
3190 0 0 0 $max > 0 and $imported >= $max
3236 0 0 0 defined $number_of_replicas and $self->use_indexing_optimizations
3284 0 0 0 defined $index and defined $type
3379 0 0 0 defined $value and length $value
3428 0 0 0 $first and $self->is_index_exists($index)
3454 0 0 0 $max > 0 and $imported >= $max
3506 0 0 0 defined $number_of_replicas and $self->use_indexing_optimizations
3877 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
694 0 0 $sec ||= 60
2414 0 0 $indices ||= "*"
2789 0 0 $size ||= 10000
2876 0 0 $this->{'_type'} || '_doc'
2988 0 0 $size ||= 10000
3001 0 0 $size ||= 10000
3201 0 0 $duration || 1
3471 0 0 $duration || 1
3951 0 0 $repository_name ||= "repository"
3974 0 0 $repository_name ||= "repository"
4045 0 0 $snapshot_name ||= "snapshot"
4046 0 0 $repository_name ||= "repository"
4074 0 0 $snapshot_name ||= "snapshot"
4075 0 0 $repository_name ||= "repository"
4157 0 0 $snapshot_name ||= "snapshot"
4158 0 0 $repository_name ||= "repository"
4213 0 0 $snapshot_name ||= "snapshot"
4214 0 0 $repository_name ||= "repository"
4243 0 0 $snapshot_name ||= "snapshot"
4244 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
506 0 0 0 $index ||= $self->index
507 0 0 0 $type ||= $self->type
736 0 0 0 $index ||= $self->index
737 0 0 0 $type ||= $self->type
782 0 0 0 $index ||= $self->index
783 0 0 0 $type ||= $self->type
836 0 0 0 $index ||= $self->index
837 0 0 0 $type ||= $self->type
939 0 0 0 $index ||= $self->index
940 0 0 0 $type ||= $self->type
1043 0 0 0 $index ||= $self->index
1044 0 0 0 $type ||= $self->type
1107 0 0 0 $index ||= $self->index
1108 0 0 0 $type ||= $self->type
1155 0 0 0 $index ||= $self->index
1156 0 0 0 $type ||= $self->type
1189 0 0 0 $index ||= $self->index
1190 0 0 0 $type ||= $self->type
1776 0 0 0 $index ||= $self->index
2025 0 0 0 $nodes ||= $self->nodes
2041 0 0 0 $nodes ||= $self->nodes
3036 0 0 0 $index ||= $this_index
3037 0 0 0 $type ||= $this_type
3050 0 0 0 $index ||= $self->index
3051 0 0 0 $type ||= $self->type
3288 0 0 0 $index ||= $this_index
3289 0 0 0 $type ||= $this_type
3302 0 0 0 $index ||= $self->index
3303 0 0 0 $type ||= $self->type