Branch Coverage

blib/lib/EV/Nats/ObjectStore.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
36 0 0 $opts->{'max_bytes'} ? :
0 0 $opts->{'max_age'} ? :
0 0 $opts->{'replicas'} ? :
64 0 0 if ($chunk_errors)
79 0 0 if $err
88 0 0 if $err
90 0 0 if $chunks_acked >= $chunks
94 0 0 if ($size == 0) { }
100 0 0 if $end > $size
118 0 0 if $err
120 0 0 unless my $msg = $resp->{'message'}
122 0 0 if EV::Nats::JetStream::msg_is_tombstone($msg)
129 0 0 if $derr
135 0 0 if ($expected == 0)
152 0 0 if ($err)
156 0 0 unless my $msg = $resp->{'message'}
161 0 0 if (scalar @chunks >= $expected) { }
163 0 0 if ($meta->{'digest'} and $meta->{'digest'} =~ /^SHA-256=(.+)/)
164 0 0 if (&sha256_hex($assembled) ne $1)
194 0 0 unless $cb
196 0 0 $err ? :
203 0 0 if ($err or not $meta or not $meta->{'nuid'})
226 0 0 if ($err)
227 0 0 if $err =~ /no message found|10037/
230 0 0 unless my $msg = $resp->{'message'}
232 0 0 if EV::Nats::JetStream::msg_is_tombstone($msg)
239 0 0 $derr ? :
252 0 0 if $err
267 0 0 if $err
271 0 0 $info->{'config'}{'sealed'} ? :