line |
!l |
l&&!r |
l&&r |
condition |
309
|
0 |
0 |
0 |
$basename ne $basename_orig and $critical |
476
|
9 |
0 |
1 |
exists $extra->{'temporary'} and $extra->{'temporary'} |
477
|
9 |
0 |
1 |
exists $extra->{'materialized'} and $extra->{'materialized'} |
515
|
12 |
86 |
4 |
not $attach_comments and my $comments = $field->comments |
530
|
95 |
5 |
2 |
$postgres_version >= "8.003" and $data_type eq "enum" |
683
|
51 |
18 |
0 |
not @fields and $c->type ne "CHECK" |
773
|
0 |
18 |
1 |
defined $size[0] and $size[0] > 11 |
788
|
0 |
12 |
1 |
defined $size[0] and $size[0] > 6 |
794
|
0 |
2 |
15 |
defined $size[0] and $size[0] > 0 |
819
|
60 |
10 |
70 |
defined $size[0] and $size[0] > 0 |
|
70 |
65 |
5 |
defined $size[0] and $size[0] > 0 and $data_type =~ /^time/i |
|
60 |
10 |
65 |
defined $size[0] and $size[0] > 0 |
871
|
9 |
5 |
6 |
not $to_field->is_nullable and $from_field->is_nullable |
879
|
13 |
5 |
2 |
not $from_field->is_nullable and $to_field->is_nullable |
905
|
12 |
4 |
3 |
defined $default_value and $to_dt =~ /^(character|text|timestamp|date)/imsx |
911
|
12 |
5 |
3 |
defined $new_default and !defined($old_default) || $old_default ne $new_default |
924
|
8 |
11 |
1 |
not defined $new_default and defined $old_default |
line |
l |
!l |
condition |
296
|
0 |
0 |
shift() || '' |
297
|
0 |
0 |
shift() || '' |
298
|
0 |
0 |
shift() || '' |
299
|
0 |
0 |
shift() || '' |
316
|
0 |
0 |
$scope ||= \%global_names |
349
|
22 |
2 |
$options->{'no_comments'} || 0 |
350
|
20 |
4 |
$options->{'add_drop_table'} || 0 |
351
|
0 |
24 |
$options->{'postgres_version'} || 0 |
352
|
22 |
2 |
$options->{'type_defs'} || {} |
457
|
2 |
8 |
$options->{'postgres_version'} || 0 |
506
|
74 |
28 |
$options->{'constraint_defs'} || [] |
507
|
7 |
95 |
$options->{'postgres_version'} || 0 |
508
|
76 |
26 |
$options->{'type_defs'} || {} |
511
|
88 |
14 |
$field_name_scope{$table_name} ||= {} |
527
|
2 |
100 |
$extra{'list'} || [] |
613
|
1 |
15 |
$options->{'postgres_version'} || 0 |
621
|
16 |
0 |
$index->type || 'NORMAL' |
677
|
42 |
27 |
$c->name || '' |
736
|
2 |
12 |
$trigger->scope || '' |
line |
l |
!l&&r |
!l&&!r |
condition |
125
|
77 |
6 |
0 |
$quoting_generator ||= "SQL::Translator::Generator::DDL::PostgreSQL"->new |
|
232 |
2 |
0 |
normalize_quote_options($options) ? $quoting_generator ||= "SQL::Translator::Generator::DDL::PostgreSQL"->new : $nonquoting_generator ||= "SQL::Translator::Generator::DDL::PostgreSQL"->new("quote_chars", []) |
531
|
1 |
1 |
0 |
$extra{'custom_type_name'} || $field->table->name . '_' . $field->name . '_type' |
619
|
16 |
0 |
0 |
$index->name || join('_', $table_name, 'idx', ++$index_name{$table_name}) |
773
|
1 |
1 |
17 |
defined $size[0] and $size[0] > 11 or $data_type eq "bigint" |
787
|
12 |
1 |
127 |
$data_type =~ /^time/i or $data_type =~ /^interval/i |
911
|
3 |
2 |
3 |
!defined($old_default) || $old_default ne $new_default |
1091
|
13 |
1 |
0 |
@{$defs;} or @{$fks;} |