blib/lib/SQL/Translator/Parser/MySQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 37 | 72.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
937 | 3 | 11 | 4 | $1 && $1 > $parser_version |
986 | 12 | 5 | 470 | ref $val eq "ARRAY" and not @$val |
1114 | 0 | 304 | 171 | not ref $size and $size eq 0 |
1162 | 470 | 0 | 5 | $field->data_type =~ /(set|enum)/i and not $field->size |
line | l | !l | condition |
---|---|---|---|
933 | 2 | 31 | parse_mysql_version($translator->parser_args->{'mysql_parser_version'}, 'mysql') || 40000 |
1009 | 0 | 1 | $cdata->{'fields'} ||= [$field->name] |
1055 | 1 | 129 | $cdata->{'match_type'} || '' |
1111 | 5 | 470 | $field->extra->{'list'} || [] |
1137 | 0 | 2 | ref $size || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
985 | 480 | 7 | 2838 | $fdata->{$qual} || $$fdata{uc $qual} |
1055 | 1 | 0 | 129 | $cdata->{'on_delete'} || $cdata->{'on_delete_do'} |
1 | 0 | 129 | $cdata->{'on_update'} || $cdata->{'on_update_do'} | |
1128 | 59 | 0 | 0 | $size != 11 - $unsigned || $type ne 'int' |
1138 | 2 | 0 | 0 | @$old_size != 2 || $old_size->[0] != 8 || $old_size->[1] != 2 |