Condition Coverage

blib/lib/DR/Tarantool/LLClient.pm
Criterion Covered Total %
condition 0 60 0.0


and 3 conditions

line !l l&&!r l&&r condition
312 0 0 0 $this and $this->is_connected
596 0 0 0 $logdir and $$response{'status'} ne 'ok'
744 0 0 0 $$self{'first_connect'} and not $$self{'reconnect_always'}
860 0 0 0 defined $number and $number =~ /^\d+$/
869 0 0 0 $$op[1] and $$op[1] =~ /^(delete|set|insert|add|and|or|xor|substr)$/

or 2 conditions

line l !l condition
175 0 0 $cb || sub { }
177 0 0 $opts{'host'} || 'localhost'
180 0 0 $opts{'reconnect_period'} || 0
181 0 0 $opts{'reconnect_always'} || 0
201 0 0 $cb ||= sub { }
355 0 0 pop() || 0
357 0 0 $flags ||= 0
405 0 0 shift() || 2147483647
406 0 0 shift() || 0
454 0 0 pop() || 0
493 0 0 pop() || 0
533 0 0 pop() || 0
677 0 0 $$self{'req_id'} || 0
687 0 0 $$self{'last_code'} ||= -1
752 0 0 $$self{'reconnect_period'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
183 0 0 0 ref $class || $class
609 0 0 0 -e $logdirname or -d $logdirname
650 0 0 0 $ENV{'TNT_LOG_ERRDIR'} or $ENV{'TNT_LOG_DIR'}
688 0 0 0 $$self{'last_error_string'} ||= $msg
713 0 0 0 $$self{'first_connect'} or $$self{'reconnect_period'}