Condition Coverage

blib/lib/MR/Tarantool/Box/Singleton.pm
Criterion Covered Total %
condition 0 82 0.0


and 3 conditions

line !l l&&!r l&&r condition
219 0 0 0 exists $opts{'params_format'} and ref $opts{'params_format'} ne 'ARRAY' || @{$opts{'params_format'};} > @params
225 0 0 0 not defined $$p[$i] and $i < @def
261 0 0 0 @_ && ref $_[-1] eq 'HASH'
434 0 0 0 exists $$param{'is_replica'} and ref $$param{'is_replica'} ne 'SCALAR'
449 0 0 0 $box->Error and $is_rep
0 0 0 $box->Error and $is_rep and @rep

or 2 conditions

line l !l condition
202 0 0 $opts{'options'} || {}
274 0 0 $_[2] && @{$_[2];} && ref $_[2][-1] eq 'HASH' && pop @{$_[2];} || {}
328 0 0 $$config{'param'} ||= {}
334 0 0 $$config{'param'}{'default_fields'} ||= [$class->FIELDS]
335 0 0 $$config{'param'}{'default_long_fields'} ||= [$class->LONG_FIELDS]
348 0 0 delete $$config{'replicas'} || $class->REPLICAS || []
421 0 0 $$fmt{'offset'} || 0
0 0 $$fmt{'length'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
204 0 0 0 not exists $opts{'params'} or ref $opts{'params'} ne 'ARRAY'
209 0 0 0 exists $opts{'params_format'} or exists $opts{'params_default'}
218 0 0 0 not exists $opts{'params_format'} or ref $opts{'params_format'} ne 'ARRAY'
0 0 0 not exists $opts{'params_format'} or ref $opts{'params_format'} ne 'ARRAY' or @{$opts{'params_format'};} != @params
219 0 0 0 ref $opts{'params_format'} ne 'ARRAY' || @{$opts{'params_format'};} > @params
330 0 0 0 $$config{'servers'} ||= $class->SERVER
332 0 0 0 $$config{'param'}{'name'} ||= $class
333 0 0 0 $$config{'param'}{'spaces'} ||= $class->SPACES
338 0 0 0 $$config{'param'}{'timeout'} ||= $class->TIMEOUT
339 0 0 0 $$config{'param'}{'select_timeout'} ||= $class->SELECT_TIMEOUT
340 0 0 0 $$config{'param'}{'debug'} ||= $class->DEBUG
341 0 0 0 $$config{'param'}{'ipdebug'} ||= $class->IPDEBUG
343 0 0 0 $$config{'param'}{'retry'} ||= $class->RETRY
344 0 0 0 $$config{'param'}{'select_retry'} ||= $class->SELECT_RETRY
345 0 0 0 $$config{'param'}{'softretry'} ||= $class->SOFT_RETRY
346 0 0 0 $$config{'param'}{'retry_delay'} ||= $class->RETRY_DELAY