Branch Coverage

blib/lib/MongoDB/Role/_SessionSupport.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
38 0 0 unless defined $self->session
48 0 0 if ($self->retryable_write or not $self->session->_in_transaction_state('none'))
52 0 0 unless ($self->session->_in_transaction_state('none'))
56 0 0 if ($self->session->_in_transaction_state('starting')) { }
0 0 elsif (not $self->session->_in_transaction_state('none')) { }
69 0 0 if ($self->session->_in_transaction_state('starting', 'in_progress'))
73 0 0 if ($self->session->_in_transaction_state('aborted', 'committed') and not $$query_ref->EXISTS('writeConcern'))
83 0 0 if ($self->session->_in_transaction_state('starting'))
93 0 0 if (defined $cluster_time and $link->supports_clusterTime)
110 0 0 unless defined $self->session
114 0 0 if (defined $cluster_time)
121 0 0 if (defined $recovery_token)
131 0 0 unless defined $self->session
134 0 0 if defined $operation_time
146 0 0 if ($self->retryable_write)
156 0 0 unless defined $self->session
157 0 0 if $err->$MongoDB::Role::_SessionSupport::_isa('MongoDB::ConnectionError') or $err->$MongoDB::Role::_SessionSupport::_isa('MongoDB::NetworkTimeout')
165 0 0 if ($response->$MongoDB::Role::_SessionSupport::_isa('MongoDB::CommandResult')) { }