Branch Coverage

blib/lib/MongoDB/Role/_SingleBatchDocWrite.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
50 0 0 scalar @$wc_args ? :
60 0 0 if (length $op_bson > 16793600)
68 0 0 if $self->monitoring_callback
76 0 0 if (my $err = $@)
77 0 0 if $self->monitoring_callback
82 0 0 if $self->monitoring_callback
87 0 0 if (not $res->{'ok'} and $res->{'errmsg'} || $res->{'$err'})
101 0 0 exists $res->{'wnote'} && $res->{'wnote'} =~ /^no replication has been enabled/ ? :
0 0 exists $res->{'jnote'} && $res->{'jnote'} =~ /^journaling not enabled/ ? :
103 0 0 if ($got_error)
119 0 0 if ($wtimeout) { }
0 0 elsif ($errmsg) { }
135 0 0 $write_error ? :
0 0 $write_concern_error ? :
146 0 0 if $self->monitoring_callback
150 0 0 if (my $err = $@)
151 0 0 if $self->monitoring_callback
155 0 0 if $self->monitoring_callback
172 0 0 if ($link->supports_op_msg) { }
185 0 0 if (length $op_bson > 16793600)
193 0 0 if $self->monitoring_callback
201 0 0 if (my $err = $@)
203 0 0 if $self->monitoring_callback
208 0 0 if $self->monitoring_callback
217 0 0 if ($self->_should_use_acknowledged_write) { }
219 0 0 if (not $res->{'ok'} and $res->{'errmsg'} || $res->{'$err'})
228 0 0 if (exists $res->{'writeErrors'} and @{$res->{'writeErrors'};})
237 0 0 $res->{'writeErrors'} ? :
0 0 $res->{'writeConcernError'} ? :