Branch Coverage

blib/lib/MongoDB/Role/_CommandMonitoring.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
40 0 0 unless $self->monitoring_callback
42 0 0 if ($command->$MongoDB::Role::_CommandMonitoring::_can('_as_tied_hash')) { }
49 0 0 _needs_redaction($command_name) ? :
75 0 0 unless $self->monitoring_callback
83 0 0 ref $bson eq 'HASH' ? :
96 0 0 _needs_redaction($start_event->{'commandName'}) ? :
101 0 0 if ($reply->{'ok'}) { }
117 0 0 unless $self->monitoring_callback
151 0 0 ref $self eq 'MongoDB::Op::_Query' ? :
178 0 0 if grep {$name eq $_;} 'authenticate', 'saslStart', 'saslContinue', 'getnonce', 'createUser', 'updateUser', 'copydbgetnonce', 'copydbsaslstart', 'copydb'
194 0 0 unless ref $op_doc eq 'ARRAY'
206 0 0 if exists $output->{$err_key}
208 0 0 if (exists $output->{'writeConcernError'})
241 0 0 if ($type eq 'BSON::Raw') { }
0 0 elsif ($type eq 'Tie::IxHash') { }
0 0 elsif ($type eq 'ARRAY') { }
0 0 elsif ($type eq 'HASH') { }
262 0 0 if ($type eq 'ARRAY') { }
0 0 elsif ($type eq 'Tie::IxHash') { }
0 0 elsif ($in->$MongoDB::Role::_CommandMonitoring::_can('_as_tied_hash')) { }