blib/lib/MongoDB/MongoClient.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 37 | 24.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
953 | 184 | 0 | 2 | $ssl and exists $self->_deferred->{'ssl'} |
1606 | 0 | 0 | 0 | $read_pref and ref $read_pref ne 'MongoDB::ReadPreference' |
1627 | 0 | 0 | 0 | $read_pref and ref $read_pref ne 'MongoDB::ReadPreference' |
1672 | 0 | 0 | 0 | ref $output eq 'HASH' and exists $output->{'databases'} |
1766 | 0 | 0 | 0 | defined $ns and length $ns |
1769 | 0 | 0 | 0 | defined $db and defined $coll |
line | l | !l | condition |
---|---|---|---|
174 | 11 | 176 | $self->_uri->options->{'authsource'} // '' |
1439 | 16 | 171 | $first || '' |
1580 | 0 | 0 | $opts ||= {} |
1677 | 0 | 0 | $@ || 'Unknown error' |
1701 | 0 | 0 | $args ||= {} |
1795 | 0 | 0 | $args ||= {} |
1873 | 0 | 0 | $pipeline ||= [] |
1874 | 0 | 0 | $options ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
175 | 30 | 1 | 156 | length $self->username || length $source |