blib/lib/JsonSQL/Param/Field.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 23 | 65.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
21 | 0 | 0 | 13 | defined $fieldName and $fieldName =~ /^[a-zA-Z_][a-zA-Z0-9_:]*$/u || $fieldName eq '*' |
28 | 12 | 0 | 1 | defined $fieldAlias and $fieldAlias =~ /^[a-zA-Z_][a-zA-Z0-9_]*$/u |
33 | 9 | 0 | 4 | defined $fieldTable and $fieldTable =~ /^[a-zA-Z_][a-zA-Z0-9_]*$/u |
38 | 9 | 0 | 4 | defined $fieldSchema and $fieldSchema =~ /^[a-zA-Z_][a-zA-Z0-9_]*$/u |
78 | 8 | 0 | 4 | defined $self->{'_fieldSchema'} and defined $self->{'_fieldTable'} |
line | l | !l | condition |
---|---|---|---|
48 | 11 | 2 | $default_table_rules || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
21 | 9 | 4 | 0 | $fieldName =~ /^[a-zA-Z_][a-zA-Z0-9_:]*$/u || $fieldName eq '*' |
37 | 0 | 4 | 9 | $fieldhashref->{'schema'} || $queryObj->{'_defaultSchema'} |