Condition Coverage

blib/lib/DR/Tarantool/Spaces.pm
Criterion Covered Total %
condition 26 56 46.4


and 3 conditions

line !l l&&!r l&&r condition
251 0 1 3 defined $no and $no =~ /^\d+$/
259 0 0 3 $name and $name =~ /^[a-z_]\w*$/i
289 0 0 15 $$s{'type'} and $$s{'type'} =~ /$fqr/
293 0 0 15 $$s{'name'} and $$s{'name'} =~ /^[a-z_]\w*$/i
640 1 0 2 $ksize > 1 and not $disable_warn
664 0 0 0 'ARRAY' eq ref $key and 'ARRAY' eq ref $$key[0]
673 0 0 12 'ARRAY' eq ref $op and @$op > 1
710 0 0 2 'ARRAY' eq ref $ops and @$ops >= 1

or 2 conditions

line l !l condition
103 0 5 $opts{'family'} ||= 1
250 4 0 $opts{'family'} ||= 1
266 2 1 $$space{'default_type'} || 'STR'
486 5 2 $r ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
115 0 3 0 ref $class || $class
255 0 0 3 not $$space{'indexes'} or 'HASH' ne ref $$space{'indexes'}
273 9 0 0 $$f{'name'} || "f$no"
313 1 0 0 $$l{'name'} || "i$no"
340 0 3 0 ref $class || $class
472 1 6 37 $type eq 'STR' or $type eq 'UTF8STR'
478 7 0 0 $type eq 'MONEY' or $type eq 'BIGMONEY'
532 4 0 15 $type eq 'MONEY' or $type eq 'BIGMONEY'