Condition Coverage

blib/lib/SQL/Translator/Parser/MySQL.pm
Criterion Covered Total %
condition 27 37 72.9


and 3 conditions

line !l l&&!r l&&r condition
937 3 11 4 $1 && $1 > $parser_version
977 12 5 468 ref $val eq "ARRAY" and not @$val
1097 0 303 170 not ref $size and $size eq 0
1138 468 0 5 $field->data_type =~ /(set|enum)/i and not $field->size

or 2 conditions

line l !l condition
934 2 30 parse_mysql_version($translator->parser_args->{'mysql_parser_version'}, 'mysql') || 40000
1000 0 1 $cdata->{'fields'} ||= [$field->name]
1046 1 128 $cdata->{'match_type'} || ''
1094 5 468 $field->extra->{'list'} || []
1115 0 2 ref $size || ''

or 3 conditions

line l !l&&r !l&&!r condition
976 478 7 2826 $fdata->{$qual} || $$fdata{uc $qual}
1046 1 0 128 $cdata->{'on_delete'} || $cdata->{'on_delete_do'}
1 0 128 $cdata->{'on_update'} || $cdata->{'on_update_do'}
1108 59 0 0 $size != 11 - $unsigned || $type ne 'int'
1116 2 0 0 @$old_size != 2 || $old_size->[0] != 8 || $old_size->[1] != 2