Branch Coverage

blib/lib/MongoDB/Op/_Query.pm
Criterion Covered Total %
branch 0 158 0.0


line true false branch
98 0 0 if (defined $self->{'options'}{'collation'} and not $link->supports_collation)
103 0 0 $link->supports_query_commands ? :
138 0 0 $opts->{'cursorType'} =~ /^tailable/ ? :
147 0 0 $limit < 0 ? :
0 0 $batch_size == 0 ? :
0 0 $limit == 0 ? :
154 0 0 $opts->{'projection'} ? :
168 0 0 $self->has_post_filter ? :
216 0 0 defined $opts->{'comment'} ? :
0 0 defined $opts->{'hint'} ? :
0 0 defined $opts->{'max'} ? :
0 0 defined $opts->{'min'} ? :
0 0 defined $opts->{'sort'} ? :
0 0 defined $opts->{'maxScan'} ? :
0 0 defined $opts->{'returnKey'} ? :
0 0 defined $opts->{'showRecordId'} ? :
0 0 defined $opts->{'snapshot'} ? :
0 0 defined $opts->{'maxTimeMS'} && !($self->coll_name =~ /\A\$cmd/) ? :
0 0 defined $opts->{'explain'} ? :
229 0 0 ref $query->{'$query'} eq 'Tie::IxHash' ? :
0 0 if keys %$query == 1 and not ref $query->{'$query'} eq 'Tie::IxHash' ? $query->{'$query'}->EXISTS('query') : exists $query->{'$query'}{'query'}
250 0 0 if $single_batch
252 0 0 $opts->{'cursorType'} =~ /^tailable/ ? :
253 0 0 $opts->{'cursorType'} eq 'tailable_await' ? :
271 0 0 $single_batch ? :
0 0 $limit ? :
0 0 $batch_size ? :
437 0 0 $opts->{'allowPartialResults'} ? :
0 0 $opts->{'noCursorTimeout'} ? :
0 0 defined $opts->{'maxAwaitTimeMS'} ? :
0 0 defined $opts->{'projection'} ? :
0 0 defined $opts->{'collation'} ? :
0 0 defined $opts->{'comment'} ? :
0 0 defined $mods->{'$comment'} ? :
0 0 exists $opts->{'comment'} ? :
0 0 defined $opts->{'hint'} ? :
0 0 defined $mods->{'$hint'} ? :
0 0 exists $opts->{'hint'} ? :
0 0 defined $opts->{'max'} ? :
0 0 defined $mods->{'$max'} ? :
0 0 exists $opts->{'max'} ? :
0 0 defined $opts->{'min'} ? :
0 0 defined $mods->{'$min'} ? :
0 0 exists $opts->{'min'} ? :
0 0 defined $opts->{'maxScan'} ? :
0 0 defined $mods->{'$maxScan'} ? :
0 0 exists $opts->{'maxScan'} ? :
0 0 defined $opts->{'maxTimeMS'} ? :
0 0 defined $mods->{'$maxTimeMS'} ? :
0 0 exists $opts->{'maxTimeMS'} ? :
0 0 defined $opts->{'sort'} ? :
0 0 defined $mods->{'$orderby'} ? :
0 0 exists $opts->{'sort'} ? :
0 0 defined $opts->{'returnKey'} ? :
0 0 defined $mods->{'$returnKey'} ? :
0 0 exists $opts->{'returnKey'} ? :
0 0 defined $opts->{'showRecordId'} ? :
0 0 defined $mods->{'$showDiskLoc'} ? :
0 0 exists $opts->{'showRecordId'} ? :
0 0 defined $opts->{'snapshot'} ? :
0 0 defined $mods->{'$snapshot'} ? :
0 0 exists $opts->{'snapshot'} ? :
444 0 0 if exists $merged{'sort'}
445 0 0 if exists $merged{'max'}
446 0 0 if exists $merged{'min'}
449 0 0 if ref $merged{'hint'}
453 0 0 $merged{'returnKey'} ? :
0 0 if exists $merged{'returnKey'}
455 0 0 $merged{'showRecordId'} ? :
0 0 if exists $merged{'showRecordId'}
457 0 0 $merged{'snapshot'} ? :
0 0 if exists $merged{'snapshot'}
473 0 0 if (defined $value) { }
474 0 0 $value ? :
488 0 0 if (defined $value) { }
503 0 0 if (defined $value) { }
515 0 0 if (defined $value) { }
516 0 0 ref $value ? :
539 0 0 $value ? :