line |
true |
false |
branch |
42
|
16 |
0 |
if (@_)
|
48
|
0 |
16 |
$arg ? :
|
100
|
0 |
0 |
$self->$european_dates ? :
|
|
0 |
0 |
$self->$server_time_zone ? :
|
147
|
0 |
0 |
unless ref $lock
|
149
|
0 |
0 |
if $lock->{'for_update'}
|
157
|
0 |
0 |
unless my $sql = $types{$lock->{'type'}}
|
162
|
0 |
0 |
if (my $on = $lock->{'on'}) { }
|
|
0 |
0 |
elsif (my $lock_tables = $lock->{'tables'}) { }
|
170
|
0 |
0 |
if ($tables_list)
|
184
|
0 |
0 |
defined $map{$_} ? :
|
|
0 |
0 |
ref $_ eq 'SCALAR' ? :
|
189
|
0 |
0 |
if (@tables)
|
194
|
0 |
0 |
if $lock->{'nowait'}
|
196
|
0 |
0 |
if $lock->{'skip_locked'}
|
205
|
0 |
0 |
unless (ref $_[0])
|
208
|
0 |
0 |
if $_[0] eq "-infinity"
|
209
|
0 |
0 |
if $_[0] eq "infinity"
|
222
|
0 |
0 |
unless (ref $_[0])
|
225
|
0 |
0 |
if $_[0] eq "-infinity"
|
226
|
0 |
0 |
if $_[0] eq "infinity"
|
239
|
0 |
0 |
unless (ref $value)
|
242
|
0 |
0 |
if $value eq "-infinity"
|
243
|
0 |
0 |
if $value eq "infinity"
|
255
|
0 |
0 |
unless $_[1] =~ /^(?:(?:now|timeofday)(?:\(\))?|(?:current_(?:date|time(?:stamp)?)
|
263
|
0 |
0 |
unless $_[1] =~ /^(?:(?:now|timeofday)(?:\(\))?|(?:current_(?:date|time(?:stamp)?)
|
271
|
0 |
0 |
unless $_[1] =~ /^(?:(?:now|timeofday)(?:\(\))?|(?:current_(?:date|time(?:stamp)?)
|
290
|
0 |
0 |
if @_
|
302
|
0 |
0 |
if @_
|
314
|
0 |
0 |
if ref $_[0]
|
315
|
0 |
0 |
if @_ > 1
|
319
|
0 |
0 |
unless defined $val
|
327
|
0 |
0 |
$_ eq 'NULL' ? :
|
|
0 |
0 |
defined $1 ? :
|
328
|
0 |
0 |
if defined $item
|
339
|
0 |
0 |
unless ref $_[0] or defined $_[0]
|
341
|
0 |
0 |
ref $_[0] ? :
|
345
|
0 |
0 |
if (not defined $_) { }
|
|
0 |
0 |
elsif (/^[-+]?\d+(?:\.\d*)?$/) { }
|
|
0 |
0 |
elsif (ref $_ eq 'ARRAY') { }
|
370
|
0 |
0 |
if (not defined $value or UNIVERSAL::isa($value, "DateTime::Duration") or $self->validate_interval_keyword($value) or $self->keyword_function_calls and $value =~ /^\w+\(.*\)$/)
|
389
|
0 |
0 |
if $error
|
391
|
0 |
0 |
if (defined $end_of_month_mode and $dt_duration)
|
407
|
0 |
16 |
if ($DateTime::Format::Pg::VERSION < 0.11) { }
|
412
|
0 |
0 |
if not defined $dur or $self->validate_interval_keyword($dur) or $self->keyword_function_calls and $dur =~ /^\w+\(.*\)$/
|
425
|
0 |
0 |
if not defined $dur or $self->validate_interval_keyword($dur) or $self->keyword_function_calls and $dur =~ /^\w+\(.*\)$/
|
436
|
0 |
0 |
unless my $dbh = $self->dbh
|
456
|
0 |
0 |
if ($error)
|
469
|
0 |
0 |
unless my $dbh = $self->dbh
|
490
|
0 |
0 |
if ($error)
|
499
|
0 |
0 |
defined((shift())->current_value_in_sequence(@_)) ? :
|
508
|
0 |
0 |
unless defined $table
|
511
|
0 |
0 |
unless defined $column
|
535
|
0 |
0 |
if (defined $default)
|
538
|
0 |
0 |
if ($default =~ /^nextval\(\(?'((?:''|[^']+))'::\w+/) { }
|
|
0 |
0 |
elsif ($default =~ /^NULL::[\w ]+$/) { }
|
540
|
0 |
0 |
$self->likes_lowercase_sequence_names ? :
|
543
|
0 |
0 |
if ($meta)
|
551
|
0 |
0 |
if (defined $seq and defined $implicit_schema and not defined $meta->schema)
|
559
|
0 |
0 |
if ($col_info->{'TYPE_NAME'} eq "integer" or $col_info->{'TYPE_NAME'} eq "bigint")
|
569
|
0 |
0 |
if ($seq =~ /^[^.]+\./)
|
572
|
0 |
0 |
if $schema
|
576
|
0 |
0 |
if (lc $seq eq lc $auto_seq)
|
579
|
0 |
0 |
$col_info->{'TYPE_NAME'} eq 'integer' ? :
|
594
|
0 |
0 |
if ($type_name eq 'character varying') { }
|
|
0 |
0 |
elsif ($type_name eq 'bit') { }
|
|
0 |
0 |
elsif ($type_name eq 'real') { }
|
|
0 |
0 |
elsif ($type_name eq 'time without time zone') { }
|
|
0 |
0 |
elsif ($type_name eq 'double precision') { }
|
|
0 |
0 |
elsif ($type_name eq 'money') { }
|
623
|
0 |
0 |
if ($col_info->{'pg_type'} =~ /^bit\((\d+)\)$/)
|
629
|
0 |
0 |
if ($col_info->{'pg_type'} =~ /^numeric/i)
|
633
|
0 |
0 |
if ($col_info->{'COLUMN_SIZE'} =~ /^(\d+),(\d+)$/) { }
|
|
0 |
0 |
elsif ($col_info->{'pg_type'} =~ /^numeric\((\d+),(\d+)\)$/i) { }
|
646
|
0 |
0 |
if (ref $col_info->{'pg_enum_values'} and @{$col_info->{'pg_enum_values'};})
|
656
|
0 |
0 |
if ($col_info->{'TYPE_NAME'} =~ /^\w.*\[\]$/)
|
674
|
0 |
0 |
if (/^B'([01]+)'::(?:bit|"bit")$/ and $col_info->{'TYPE_NAME'} eq 'bit') { }
|
|
0 |
0 |
elsif (/^(.+)::"?bigint"?$/i and $col_info->{'TYPE_NAME'} eq 'bigint') { }
|
|
0 |
0 |
elsif (/^\(*'(.*)'::.+$/) { }
|
|
0 |
0 |
elsif (/^nextval\(/) { }
|
695
|
0 |
0 |
if ($pg_vers >= 80000 and index($default, q['']) > 0) { }
|
|
0 |
0 |
elsif ($pg_vers < 80100 and index($default, q[\\']) > 0) { }
|
720
|
0 |
0 |
if (not defined $DBD_PG_AFTER_380 and defined $DBD::Pg::VERSION)
|
722
|
0 |
0 |
$DBD::Pg::VERSION =~ /^(\d+)\.(\d+)/ && ($1 >= 3 && $2 >= 8) ? :
|
725
|
0 |
0 |
if ($DBD_PG_AFTER_380)
|
736
|
0 |
0 |
$args{'include_views'} ? :
|
740
|
0 |
0 |
unless defined $schema
|
750
|
0 |
0 |
unless my $dbh = $self->dbh
|
769
|
0 |
0 |
if ($error)
|
774
|
0 |
0 |
wantarray ? :
|