| line |
true |
false |
branch |
|
42
|
207 |
182 |
$NO_QUOTES ? : |
|
65
|
5 |
5 |
if $translator->quote_identifiers and $translator->quote_identifiers ne "0E0" |
|
70
|
1 |
9 |
unless $no_comments |
|
74
|
8 |
2 |
unless $no_txn |
|
110
|
8 |
2 |
unless $no_txn |
|
112
|
3 |
7 |
if (wantarray) { } |
|
123
|
5 |
24 |
if (my $prev = $scope->{$name}) |
|
126
|
0 |
5 |
if length $name > $max_id_length |
|
129
|
0 |
5 |
if $WARN |
|
151
|
4 |
4 |
if $add_drop_view |
|
155
|
2 |
0 |
if exists $extra->{'temporary'} and $extra->{'temporary'} |
|
158
|
2 |
0 |
if exists $extra->{'if_not_exists'} and $extra->{'if_not_exists'} |
|
161
|
8 |
0 |
if (my $sql = $view->sql) |
|
167
|
0 |
8 |
unless ($options->{'no_comments'}) |
|
187
|
0 |
31 |
unless my(@fields) = $table->get_fields |
|
189
|
4 |
27 |
$options->{'temporary_table'} ? : |
|
193
|
0 |
31 |
$sqlite_version >= 3.003 ? : |
|
196
|
1 |
30 |
unless $no_comments |
|
197
|
12 |
19 |
if ($add_drop_table) { } |
|
208
|
0 |
31 |
if ($table->comments and not $no_comments) |
|
218
|
22 |
9 |
$pk ? : |
|
228
|
2 |
29 |
if (scalar @pk_fields > 1 or @pk_fields and not grep(/INTEGER PRIMARY KEY/, @field_defs)) |
|
244
|
10 |
33 |
if ($c->type eq 'FOREIGN KEY') { } |
|
|
0 |
33 |
elsif ($c->type eq 'CHECK') { } |
|
249
|
32 |
11 |
unless $c->type eq "UNIQUE" |
|
261
|
1 |
0 |
if $c->name |
|
270
|
0 |
11 |
unless $_ |
|
271
|
0 |
11 |
unless (@rfields) |
|
273
|
0 |
0 |
if (my $ref_table = $c->schema->get_table($rtable_name)) { } |
|
276
|
0 |
0 |
unless @rfields |
|
288
|
1 |
10 |
if $c->{'on_delete'} |
|
289
|
1 |
10 |
if $c->{'on_update'} |
|
302
|
3 |
11 |
$index->type eq 'UNIQUE' ? : |
|
307
|
0 |
14 |
if $WARN |
|
321
|
0 |
15 |
if $WARN |
|
342
|
6 |
10 |
if (@$events > 1) |
|
345
|
0 |
6 |
if $WARN |
|
352
|
14 |
2 |
if $add_drop |
|
356
|
12 |
4 |
if (not ref $trigger->action) { } |
|
358
|
11 |
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'} |
|
403
|
2 |
1 |
if $constraint->type eq "UNIQUE" |
|
444
|
2 |
2 |
if (@{$diffs->{'rename_field'};} == 0 and @{$diffs->{'alter_field'};} == 0 and @{$diffs->{'drop_field'};} == 0) |
|
457
|
0 |
4 |
if ($diffs->{'rename_table'} and @{$diffs->{'rename_table'};}) |
|
494
|
2 |
11 |
if ($rename_field{$_}) { } |
|
522
|
4 |
0 |
wantarray ? : |