Condition Coverage

blib/lib/MongoDB/ReadPreference.pm
Criterion Covered Total %
condition 7 9 77.7


and 3 conditions

line !l l&&!r l&&r condition
96 213 295 1 $self->mode eq 'primary' and not $self->has_empty_tag_sets
100 213 291 4 $self->mode eq 'primary' and $self->max_staleness_seconds > 0

or 3 conditions

line l !l&&r !l&&!r condition
113 0 0 459 @$tag_sets == 0 || @$tag_sets == 1 && !keys(%{$$tag_sets[0];})