blib/lib/MongoDB/_Credential.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 26 | 42.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
393 | 0 | 0 | 0 | $code != 0 and $code != 1 |
420 | 0 | 0 | 0 | defined $payload and length $payload |
line | l | !l | condition |
---|---|---|---|
154 | 1 | 1 | $self->db_name // '$external' |
156 | 4 | 6 | $self->db_name // 'admin' |
214 | 3 | 6 | $_ //= '' |
222 | 1 | 6 | $mp->{'SERVICE_NAME'} ||= 'mongodb' |
317 | 0 | 0 | $@ || 'Unknown error' |
341 | 0 | 0 | $@ || 'Unknown error' |
478 | 0 | 0 | $@ || 'Unknown error' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
156 | 3 | 6 | 10 | $mech eq 'MONGODB-X509' || $mech eq 'GSSAPI' |
271 | 0 | 0 | 0 | $username or $link->supports_x509_user_from_cert |