Condition Coverage

blib/lib/MongoDB/Role/_ReadPrefModifier.pm
Criterion Covered Total %
condition 0 19 0.0


and 3 conditions

line !l l&&!r l&&r condition
47 0 0 0 $link->server && $link->server->type eq 'Mongos'
0 0 0 $topology_type eq 'Single' and not $link->server && $link->server->type eq 'Mongos'
66 0 0 0 $link->server and $link->server->type eq 'Mongos'
106 0 0 0 $read_pref->has_empty_tag_sets and $read_pref->max_staleness_seconds == -1

or 2 conditions

line l !l condition
43 0 0 $topology_type ||= ''
62 0 0 $topology_type ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
75 0 0 0 not $read_pref or $read_pref->mode eq 'primary'