Condition Coverage

blib/lib/EV/Nats/JetStream.pm
Criterion Covered Total %
condition 0 33 0.0


and 3 conditions

line !l l&&!r l&&r condition
46 0 0 0 $msg and $msg->{'hdrs'}
185 0 0 0 $headers and $headers =~ m[^NATS/1\.0\s+(\d+)]

or 2 conditions

line l !l condition
9 0 0 delete $opts{'nats'} || die('nats connection required')
10 0 0 delete $opts{'prefix'} || '$JS.API'
11 0 0 delete $opts{'timeout'} || 5000
21 0 0 $payload //= ""
71 0 0 $config->{'name'} || die('stream name required')
77 0 0 $config->{'name'} || die('stream name required')
161 0 0 $opts //= {}
162 0 0 $opts->{'batch'} || 1
163 0 0 $opts->{'expires'} || 5000000000

or 3 conditions

line l !l&&r !l&&!r condition
115 0 0 0 $config->{'durable_name'} || $config->{'name'}
188 0 0 0 $code == 404 or $code == 408
0 0 0 $code == 404 or $code == 408 or $code == 503