| blib/lib/MongoDB/ChangeStream.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 11 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 228 | 0 | 0 | 0 | not $retried and $error->$MongoDB::ChangeStream::_isa('MongoDB::Error') |
| 0 | 0 | 0 | not $retried and $error->$MongoDB::ChangeStream::_isa('MongoDB::Error') and $error->_is_resumable |
| line | l | !l | condition |
|---|---|---|---|
| 227 | 0 | 0 | $@ || 'Unknown error' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 226 | 0 | 0 | 0 | eval { do { $change = $self->_result->next; 1 } } or do { my $error = $@ || 'Unknown error'; if (not $retried and $error->$MongoDB::ChangeStream::_isa('MongoDB::Error') and $error->_is_resumable) { $retried = 1; $self->_execute_query; } else { die $error; }; 0 } |