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
196 1 0 0 $data_type eq "varchar" and $orig_data_type eq "boolean"
223 7 0 0 $field->is_auto_increment && $seq_name
372 21 0 0 $basename ne $basename_orig and $critical
391 21 0 0 length $name > $max_id_length and $critical
403 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) || ''
163 0 14 $extra{'list'} || []
249 2 3 $constraint->name || ''
250 5 0 $constraint->type || 'NORMAL'
360 21 0 shift() || ''
361 3 18 shift() || ''
362 14 7 shift() || ''
363 7 14 shift() || ''
379 14 7 $scope ||= \%global_names
398 24 0 shift() || ''
399 20 4 shift() || ''

or 3 conditions

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