line |
true |
false |
branch |
648
|
14 |
1 |
unless defined $main::RD_ERRORS |
649
|
14 |
1 |
unless defined $main::RD_WARN |
650
|
15 |
0 |
unless defined $main::RD_HINT |
652
|
0 |
15 |
$translator->trace ? : |
658
|
0 |
15 |
unless defined $result |
659
|
0 |
15 |
if $DEBUG |
671
|
0 |
27 |
unless my $table = $schema->add_table('name', $tdata->{'name'}) |
684
|
0 |
124 |
unless my $field = $table->add_field('name', $fdata->{'name'}, 'data_type', $fdata->{'data_type'}, 'size', $fdata->{'size'}, 'default_value', $fdata->{'default'}, 'is_auto_increment', $fdata->{'is_auto_inc'}, 'is_nullable', $fdata->{'is_nullable'}, 'comments', $fdata->{'comments'}) |
687
|
16 |
108 |
if $fdata->{'is_primary_key'} |
690
|
63 |
11 |
unless $cdata->{'type'} eq 'foreign_key' |
696
|
26 |
1 |
unless $tdata->{'indices'} |
700
|
0 |
1 |
unless my $index = $table->add_index('name', $idata->{'name'}, 'type', uc($idata->{'type'} || ''), 'fields', $idata->{'fields'}) |
704
|
7 |
20 |
unless $tdata->{'constraints'} |
715
|
0 |
42 |
unless my $constraint = $table->add_constraint('name', $cdata->{'name'}, 'type', $cdata->{'type'}, 'fields', $cdata->{'fields'}, 'reference_table', $cdata->{'reference_table'}, 'reference_fields', $cdata->{'reference_fields'}, 'match_type', $cdata->{'match_type'} || '', 'on_delete', $cdata->{'on_delete'} || $cdata->{'on_delete_do'}, 'on_update', $cdata->{'on_update'} || $cdata->{'on_update_do'}) |
720
|
0 |
15 |
unless $result->{'views'} |
727
|
0 |
15 |
unless $result->{'triggers'} |