line |
true |
false |
branch |
41
|
189 |
115 |
$NO_QUOTES ? : |
66
|
3 |
4 |
if $translator->quote_identifiers and $translator->quote_identifiers ne "0E0" |
70
|
1 |
6 |
unless $no_comments |
74
|
5 |
2 |
unless $no_txn |
96
|
5 |
2 |
unless $no_txn |
98
|
2 |
5 |
if (wantarray) { } |
113
|
5 |
17 |
if (my $prev = $scope->{$name}) |
116
|
0 |
5 |
if length $name > $max_id_length |
119
|
0 |
5 |
if $WARN |
141
|
2 |
4 |
if $add_drop_view |
144
|
2 |
0 |
if exists $extra->{'temporary'} and $extra->{'temporary'} |
146
|
2 |
0 |
if exists $extra->{'if_not_exists'} and $extra->{'if_not_exists'} |
149
|
6 |
0 |
if (my $sql = $view->sql) |
155
|
0 |
6 |
unless ($options->{'no_comments'}) |
177
|
0 |
25 |
unless my(@fields) = $table->get_fields |
179
|
3 |
22 |
$options->{'temporary_table'} ? : |
183
|
0 |
25 |
$sqlite_version >= 3.003 ? : |
186
|
1 |
24 |
unless $no_comments |
187
|
8 |
17 |
if ($add_drop_table) { } |
198
|
0 |
25 |
if ($table->comments and not $no_comments) |
208
|
16 |
9 |
$pk ? : |
218
|
2 |
23 |
if (scalar @pk_fields > 1 or @pk_fields and not grep(/INTEGER PRIMARY KEY/, @field_defs)) |
237
|
8 |
23 |
if ($c->type eq 'FOREIGN KEY') { } |
|
0 |
23 |
elsif ($c->type eq 'CHECK') { } |
243
|
24 |
7 |
unless $c->type eq "UNIQUE" |
255
|
1 |
0 |
if $c->name |
264
|
0 |
9 |
unless $_ |
265
|
0 |
9 |
unless (@rfields) |
267
|
0 |
0 |
if (my $ref_table = $c->schema->get_table($rtable_name)) { } |
270
|
0 |
0 |
unless @rfields |
284
|
1 |
8 |
if $c->{'on_delete'} |
285
|
1 |
8 |
if $c->{'on_update'} |
299
|
3 |
8 |
$index->type eq 'UNIQUE' ? : |
304
|
0 |
11 |
if $WARN |
320
|
0 |
11 |
if $WARN |
342
|
2 |
8 |
if (@$events > 1) |
345
|
0 |
2 |
if $WARN |
350
|
8 |
2 |
if $add_drop |
355
|
6 |
4 |
if (not ref $trigger->action) { } |
357
|
5 |
1 |
unless $action =~ /^ \s* BEGIN [\s\;] .*? [\s\;] END [\s\;]* $/six |
362
|
0 |
4 |
if $trigger->action->{'for_each'} |
365
|
0 |
4 |
if $trigger->action->{'when'} |
406
|
2 |
1 |
if $constraint->type eq "UNIQUE" |
448
|
2 |
2 |
if (@{$diffs->{'rename_field'};} == 0 and @{$diffs->{'alter_field'};} == 0 and @{$diffs->{'drop_field'};} == 0) |
462
|
0 |
3 |
if ($diffs->{'rename_table'} and @{$diffs->{'rename_table'};}) |
498
|
1 |
10 |
$rename_field{$_} ? : |
524
|
3 |
0 |
wantarray ? : |