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
520 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
612 0 0 0 $action eq 'indices:data/write/reindex' and not exists $tasks{$task}
788 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
801 0 0 0 defined $p and exists $p->{'class'}
848 0 0 0 defined $hash->{'routing'} and defined $$doc{$hash->{'routing'}}
863 0 0 0 defined $p and exists $p->{'class'}
902 0 0 0 defined $p and exists $p->{'class'}
961 0 0 0 defined $p and exists $p->{'class'}
1000 0 0 0 defined $p and exists $p->{'class'}
1038 0 0 0 defined $index and $index ne '*'
1042 0 0 0 defined $type and $type ne '*'
1082 0 0 0 exists $r->{'hits'} and exists $r->{'hits'}{'total'}
1317 0 0 0 defined $proceed and $proceed
2476 0 0 0 $number =~ /^\d+$/ and $number > 0
2712 0 0 0 defined $dump and length $dump
2718 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'
2763 0 0 0 defined $p and exists $p->{'class'}
2793 0 0 0 $format ne 'csv' and $format ne 'json'
2936 0 0 0 $max > 0 and $exported >= $max
3021 0 0 0 $format ne 'csv' and $format ne 'json'
3028 0 0 0 defined $index and defined $type
3120 0 0 0 defined $value and length $value
3137 0 0 0 defined $hash and defined $hash->{'routing'}
0 0 0 defined $hash and defined $hash->{'routing'} and defined $$h{$hash->{'routing'}}
3164 0 0 0 $first and $self->is_index_exists($index)
3187 0 0 0 $max > 0 and $imported >= $max
3233 0 0 0 defined $number_of_replicas and $self->use_indexing_optimizations
3281 0 0 0 defined $index and defined $type
3376 0 0 0 defined $value and length $value
3425 0 0 0 $first and $self->is_index_exists($index)
3451 0 0 0 $max > 0 and $imported >= $max
3503 0 0 0 defined $number_of_replicas and $self->use_indexing_optimizations
3874 0 0 0 exists $run->{'hits'} and exists $run->{'hits'}{'total'}

or 2 conditions

line l !l condition
296 0 0 $self->max_flush_count || 1000
297 0 0 $self->max_flush_size || 1000000
380 0 0 $query ||= {'query', {'match_all', {}}}
463 0 0 $count ||= 1
683 0 0 $sec ||= 60
2411 0 0 $indices ||= '*'
2786 0 0 $size ||= 10000
2873 0 0 $this->{'_type'} || '_doc'
2985 0 0 $size ||= 10000
2998 0 0 $size ||= 10000
3198 0 0 $duration || 1
3468 0 0 $duration || 1
3943 0 0 $repository_name ||= 'repository'
3966 0 0 $repository_name ||= 'repository'
4037 0 0 $snapshot_name ||= 'snapshot'
4038 0 0 $repository_name ||= 'repository'
4066 0 0 $snapshot_name ||= 'snapshot'
4067 0 0 $repository_name ||= 'repository'
4149 0 0 $snapshot_name ||= 'snapshot'
4150 0 0 $repository_name ||= 'repository'
4205 0 0 $snapshot_name ||= 'snapshot'
4206 0 0 $repository_name ||= 'repository'
4235 0 0 $snapshot_name ||= 'snapshot'
4236 0 0 $repository_name ||= 'repository'

or 3 conditions

line l !l&&r !l&&!r condition
218 0 0 0 $nodes ||= $self->nodes
219 0 0 0 $cxn_pool ||= $self->cxn_pool
272 0 0 0 $index ||= $self->index
273 0 0 0 $type ||= $self->type
342 0 0 0 $index ||= $self->index
343 0 0 0 $size ||= $self->size
381 0 0 0 $index ||= $self->index
382 0 0 0 $type ||= $self->type
383 0 0 0 $size ||= $self->size
495 0 0 0 $index ||= $self->index
496 0 0 0 $type ||= $self->type
725 0 0 0 $index ||= $self->index
726 0 0 0 $type ||= $self->type
771 0 0 0 $index ||= $self->index
772 0 0 0 $type ||= $self->type
825 0 0 0 $index ||= $self->index
826 0 0 0 $type ||= $self->type
928 0 0 0 $index ||= $self->index
929 0 0 0 $type ||= $self->type
1032 0 0 0 $index ||= $self->index
1033 0 0 0 $type ||= $self->type
1108 0 0 0 $index ||= $self->index
1109 0 0 0 $type ||= $self->type
1151 0 0 0 $index ||= $self->index
1152 0 0 0 $type ||= $self->type
1185 0 0 0 $index ||= $self->index
1186 0 0 0 $type ||= $self->type
1773 0 0 0 $index ||= $self->index
2022 0 0 0 $nodes ||= $self->nodes
2038 0 0 0 $nodes ||= $self->nodes
3033 0 0 0 $index ||= $this_index
3034 0 0 0 $type ||= $this_type
3047 0 0 0 $index ||= $self->index
3048 0 0 0 $type ||= $self->type
3285 0 0 0 $index ||= $this_index
3286 0 0 0 $type ||= $this_type
3299 0 0 0 $index ||= $self->index
3300 0 0 0 $type ||= $self->type