Branch Coverage

blib/lib/EV/Nats/JetStream.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
37 0 0 unless $@
46 0 0 unless $msg and $msg->{'hdrs'}
49 0 0 $hdrs =~ /KV-Operation:\s*(?:DEL|PURGE)/i ? :
54 0 0 defined $data ? :
57 0 0 if $err
59 0 0 if $derr
60 0 0 if ($decoded->{'error'})
116 0 0 $name ? :
143 0 0 if $err
145 0 0 if $derr
146 0 0 if $ack->{'error'}
164 0 0 $opts->{'no_wait'} ? :
176 0 0 if $finished
178 0 0 if ($timer)
179 0 0 if defined $sid
180 0 0 $err ? :
185 0 0 if ($headers and $headers =~ m[^NATS/1\.0\s+(\d+)])
188 0 0 if ($code == 404 or $code == 408 or $code == 503)
198 0 0 if @messages >= $batch
202 0 0 if $no_wait