Branch Coverage

blib/lib/MongoDB/WriteConcern.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
102 13 8 defined $self->w ? :
6 15 defined $self->wtimeout ? :
8 13 defined $self->j ? :
108 19 2 keys %$wc ? :
113 1 198 unless ($self->_w_is_valid)
117 3 195 if (not $self->_w_is_acknowledged and $self->j)
122 1 194 if (defined $self->wtimeout and $self->wtimeout < 0)
130 179 20 unless defined $self->w
131 16 4 &looks_like_number(scalar $self->w) ? :
136 179 19 unless defined $self->w
137 15 4 &looks_like_number(scalar $self->w) ? :