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 199 unless ($self->_w_is_valid)
117 3 196 if (not $self->_w_is_acknowledged and $self->j)
122 1 195 if (defined $self->wtimeout and $self->wtimeout < 0)
130 180 20 unless defined $self->w
131 16 4 &looks_like_number(scalar $self->w) ? :
136 180 19 unless defined $self->w
137 15 4 &looks_like_number(scalar $self->w) ? :