blib/lib/MySQL/Workbench/Parser/MySQLParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 37 | 2.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
849 | 0 | 0 | 0 | $1 && $1 > $parser_version |
898 | 0 | 0 | 0 | ref $val eq 'ARRAY' and not @$val |
1026 | 0 | 0 | 0 | not ref $size and $size eq 0 |
1074 | 0 | 0 | 0 | $field->data_type =~ /(set|enum)/i and not $field->size |
line | l | !l | condition |
---|---|---|---|
845 | 0 | 2 | parse_mysql_version($translator->parser_args->{'mysql_parser_version'}, 'mysql') || 40000 |
921 | 0 | 0 | $cdata->{'fields'} ||= [$field->name] |
967 | 0 | 0 | $cdata->{'match_type'} || '' |
1023 | 0 | 0 | $field->extra->{'list'} || [] |
1049 | 0 | 0 | ref $size || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
897 | 0 | 0 | 0 | $fdata->{$qual} || $$fdata{uc $qual} |
967 | 0 | 0 | 0 | $cdata->{'on_delete'} || $cdata->{'on_delete_do'} |
0 | 0 | 0 | $cdata->{'on_update'} || $cdata->{'on_update_do'} | |
1040 | 0 | 0 | 0 | $size != 11 - $unsigned || $type ne 'int' |
1050 | 0 | 0 | 0 | @$old_size != 2 || $old_size->[0] != 8 || $old_size->[1] != 2 |