Condition Coverage

blib/lib/Mango/Bulk.pm
Criterion Covered Total %
condition 0 28 0.0


and 3 conditions

line !l l&&!r l&&r condition
128 0 0 0 push @$ops, [$type, $self->{'offset'} || 0] and delete $self->{'size'}

or 2 conditions

line l !l condition
119 0 0 $self->{'ops'} ||= []
123 0 0 $self->{'size'} // 0
128 0 0 $self->{'offset'} || 0
138 0 0 delete $self->{'query'} // {}
150 0 0 delete $self->{'query'} // {}

or 3 conditions

line l !l&&r !l&&!r condition
41 0 0 0 $doc->{'_id'} //= bson_oid()
103 0 0 0 $err ||= $self->collection->db->mango->protocol->write_error($full)
124 0 0 0 $new > $bson_max || @$previous >= $batch_max + 2
128 0 0 0 not @$previous or $previous->[0] ne $type
0 0 0 not @$previous or $previous->[0] ne $type or $limit