Branch Coverage

blib/lib/DR/Tarantool/LLSyncClient.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
19 0 0 unless my $port = $opts{'port'}
26 0 0 if (exists $opts{'raise_error'})
27 0 0 $opts{'raise_error'} ? :
38 0 0 unless ($self->_connect)
39 0 0 unless ($reconnect_always)
40 0 0 unless $$self{'raise_error'}
43 0 0 unless ($reconnect_period)
44 0 0 unless $$self{'raise_error'}
55 0 0 if ($$self{'host'} eq 'unix/' or $$self{'port'} =~ /\D/) { }
68 0 0 if $$self{'id'} < 2147483646
75 0 0 unless ($$self{'reconnect_period'})
77 0 0 if $$self{'raise_error'}
80 0 0 if $self->_connect
90 0 0 unless (defined $slen)
91 0 0 if $!{'EINTR'}
102 0 0 unless (defined $rl)
103 0 0 if $!{'EINTR'}
114 0 0 unless (defined $rl)
115 0 0 if $!{'EINTR'}
121 0 0 if ($$res{'status'} ne 'ok')
125 0 0 if $$res{'status'} =~ /^(fatal|buffer)$/
126 0 0 if $$self{'raise_error'}
139 0 0 if $$self{'raise_error'}
145 0 0 unless ($$self{'fh'})
149 0 0 unless $$self{'fh'}
154 0 0 unless $res and $$res{'status'} eq 'ok'
192 0 0 unless ref $tuple eq 'ARRAY'
230 0 0 unless 'ARRAY' eq ref $tuple
235 0 0 unless 'ARRAY' eq ref $list
236 0 0 unless @$list
242 0 0 unless defined $number and $number =~ /^\d+$/
248 0 0 unless 'ARRAY' eq ref $op
249 0 0 unless @$op >= 2
250 0 0 unless $$op[1] and $$op[1] =~ /^(delete|set|insert|add|and|or|xor|substr)$/
258 0 0 unless 'ARRAY' eq ref $list
260 0 0 unless @$list