blib/lib/DR/Tarantool/Spaces.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 52 | 46.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
236 | 0 | 1 | 3 | defined $no and $no =~ /^\d+$/ |
244 | 0 | 0 | 3 | $name and $name =~ /^[a-z_]\w*$/i |
274 | 0 | 0 | 15 | $$s{'type'} and $$s{'type'} =~ /$fqr/ |
278 | 0 | 0 | 15 | $$s{'name'} and $$s{'name'} =~ /^[a-z_]\w*$/i |
609 | 1 | 0 | 2 | $ksize > 1 and not $disable_warn |
633 | 0 | 0 | 0 | 'ARRAY' eq ref $key and 'ARRAY' eq ref $$key[0] |
642 | 0 | 0 | 12 | 'ARRAY' eq ref $op and @$op > 1 |
671 | 0 | 0 | 2 | 'ARRAY' eq ref $ops and @$ops >= 1 |
line | l | !l | condition |
---|---|---|---|
251 | 2 | 1 | $$space{'default_type'} || 'STR' |
463 | 5 | 2 | $r ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
112 | 0 | 3 | 0 | ref $class || $class |
240 | 0 | 0 | 3 | not $$space{'indexes'} or 'HASH' ne ref $$space{'indexes'} |
258 | 9 | 0 | 0 | $$f{'name'} || "f$no" |
298 | 1 | 0 | 0 | $$l{'name'} || "i$no" |
325 | 0 | 3 | 0 | ref $class || $class |
449 | 1 | 6 | 37 | $type eq 'STR' or $type eq 'UTF8STR' |
455 | 7 | 0 | 0 | $type eq 'MONEY' or $type eq 'BIGMONEY' |
509 | 4 | 0 | 15 | $type eq 'MONEY' or $type eq 'BIGMONEY' |