Condition Coverage

blib/lib/SQL/Translator/Producer/Sybase.pm
Criterion Covered Total %
condition 26 49 53.0


and 3 conditions

line !l l&&!r l&&r condition
189 1 0 0 $data_type eq "varchar" and $orig_data_type eq "boolean"
212 7 0 0 $field->is_auto_increment && $seq_name
331 21 0 0 $basename ne $basename_orig and $critical
350 21 0 0 length $name > $max_id_length and $critical
362 0 5 19 not $reserved{uc $name} and $name =~ /^[a-z]/i

or 2 conditions

line l !l condition
134 4 0 unreserve($table_name) || ''
161 0 14 $extra{'list'} || []
236 2 3 $constraint->name || ''
237 5 0 $constraint->type || 'NORMAL'
318 21 0 shift() || ''
319 3 18 shift() || ''
320 14 7 shift() || ''
321 7 14 shift() || ''
338 14 7 $scope ||= \%global_names
357 24 0 shift() || ''
358 20 4 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
243 0 3 0 $name ||= mk_name($table_name, "pk", undef, 1)
246 1 0 0 $name ||= mk_name($table_name, "fk", undef, 1)
254 0 0 0 $name || ++$c_name_default
1 0 0 $name ||= mk_name($table_name, $name || ++$c_name_default, undef, 1)