Branch Coverage

blib/lib/MongoDB/Op/_Update.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
92 0 0 if (defined $self->collation)
93 0 0 unless $link->supports_collation
96 0 0 unless $self->_should_use_acknowledged_write
101 0 0 if (defined $self->arrayFilters)
102 0 0 unless $link->supports_arrayFilters
105 0 0 unless $self->_should_use_acknowledged_write
113 0 0 ref $self->filter eq 'ARRAY' ? :
0 0 $self->multi ? :
0 0 $self->upsert ? :
0 0 defined $self->collation ? :
0 0 defined $self->arrayFilters ? :
135 0 0 unless $self->_should_use_acknowledged_write
156 0 0 if $link->supports_write_commands
186 0 0 unless $res->{'upserted'}
189 0 0 $res->{'upserted'} ? :
201 0 0 if (not defined $upserted and exists $res->{'updatedExisting'} and not $res->{'updatedExisting'} and $res->{'n'} == 1)
207 0 0 unless defined $upserted
211 0 0 $upserted ? :
219 0 0 if (ref $doc eq 'BSON::Raw')
227 0 0 if $doc->[$i] eq '_id'
228 0 0 $i < $#$doc ? :
232 0 0 $type eq 'Tie::IxHash' ? :
0 0 $type eq 'ARRAY' ? :
0 0 $type eq 'HASH' ? :