| line |
true |
false |
branch |
|
187
|
0 |
1 |
unless $no_comments |
|
191
|
4 |
0 |
if $add_drop_table |
|
214
|
0 |
1 |
wantarray ? : |
|
225
|
0 |
20 |
if (length $name > $length) |
|
227
|
0 |
0 |
if $WARN |
|
237
|
0 |
20 |
if ($db2_reserved{uc $newname}) |
|
239
|
0 |
0 |
if $WARN |
|
255
|
0 |
4 |
unless $options->{'no_comments'} |
|
272
|
0 |
4 |
$tablespace ? : |
|
289
|
3 |
13 |
$field->is_auto_increment ? : |
|
291
|
11 |
5 |
$data_type =~ /(CHAR|CLOB|NUMERIC|DECIMAL)/i ? : |
|
292
|
5 |
11 |
!$field->is_nullable ? : |
|
294
|
1 |
6 |
$data_type =~ /(INT|DOUBLE)/i ? : |
|
|
7 |
0 |
defined $field->default_value ? : |
|
|
0 |
7 |
$field->default_value =~ /current( |_)timestamp/i || $field->default_value =~ /now\(\)/i ? : |
|
|
9 |
7 |
!defined($field->default_value) ? : |
|
309
|
0 |
1 |
$index->type =~ /^UNIQUE$/i ? : |
|
324
|
1 |
0 |
$constraint->type =~ /^FOREIGN(_|\s)KEY$/i ? : |
|
|
0 |
1 |
$constraint->type =~ /^CHECK_C$/i ? : |
|
|
1 |
1 |
$constraint->type =~ /^UNIQUE$/i ? : |
|
|
3 |
2 |
$constraint->type =~ /^PRIMARY(_|\s)KEY$/i ? : |
|
329
|
0 |
5 |
$constraint->type =~ /^CHECK_C$/i ? : |
|
331
|
1 |
4 |
$constraint->type =~ /^FOREIGN(_|\s)KEY$/i ? : |
|
332
|
0 |
5 |
$constraint->on_update ? : |
|
333
|
0 |
5 |
$constraint->on_delete ? : |
|
335
|
2 |
3 |
$constraint->name ? : |
|
|
0 |
5 |
$expr ? : |
|
342
|
1 |
4 |
if ($constraint->type eq 'FOREIGN KEY') { } |
|
380
|
0 |
3 |
$db_events =~ /update_on/i ? : |
|
394
|
1 |
0 |
$data_type =~ /CHAR/i ? : |