line |
true |
false |
branch |
62
|
0 |
0 |
$self->$european_dates ? :
|
|
0 |
0 |
$self->$server_time_zone ? :
|
109
|
0 |
0 |
unless ref $lock
|
111
|
0 |
0 |
if $lock->{'for_update'}
|
119
|
0 |
0 |
unless my $sql = $types{$lock->{'type'}}
|
124
|
0 |
0 |
if (my $on = $lock->{'on'}) { }
|
|
0 |
0 |
elsif (my $lock_tables = $lock->{'tables'}) { }
|
132
|
0 |
0 |
if ($tables_list)
|
146
|
0 |
0 |
defined $map{$_} ? :
|
|
0 |
0 |
ref $_ eq 'SCALAR' ? :
|
151
|
0 |
0 |
if (@tables)
|
156
|
0 |
0 |
if $lock->{'nowait'}
|
158
|
0 |
0 |
if $lock->{'skip_locked'}
|
167
|
0 |
0 |
unless (ref $_[0])
|
170
|
0 |
0 |
if $_[0] eq "-infinity"
|
171
|
0 |
0 |
if $_[0] eq "infinity"
|
184
|
0 |
0 |
unless (ref $_[0])
|
187
|
0 |
0 |
if $_[0] eq "-infinity"
|
188
|
0 |
0 |
if $_[0] eq "infinity"
|
201
|
0 |
0 |
unless (ref $value)
|
204
|
0 |
0 |
if $value eq "-infinity"
|
205
|
0 |
0 |
if $value eq "infinity"
|
217
|
0 |
0 |
unless $_[1] =~ /^(?:(?:now|timeofday)(?:\(\))?|(?:current_(?:date|time(?:stamp)?)
|
225
|
0 |
0 |
unless $_[1] =~ /^(?:(?:now|timeofday)(?:\(\))?|(?:current_(?:date|time(?:stamp)?)
|
233
|
0 |
0 |
unless $_[1] =~ /^(?:(?:now|timeofday)(?:\(\))?|(?:current_(?:date|time(?:stamp)?)
|
245
|
0 |
0 |
if @_
|
257
|
0 |
0 |
if @_
|
269
|
0 |
0 |
if ref $_[0]
|
270
|
0 |
0 |
if @_ > 1
|
274
|
0 |
0 |
unless defined $val
|
282
|
0 |
0 |
$_ eq 'NULL' ? :
|
|
0 |
0 |
defined $1 ? :
|
283
|
0 |
0 |
if defined $item
|
294
|
0 |
0 |
unless ref $_[0] or defined $_[0]
|
296
|
0 |
0 |
ref $_[0] ? :
|
300
|
0 |
0 |
if (not defined $_) { }
|
|
0 |
0 |
elsif (/^[-+]?\d+(?:\.\d*)?$/) { }
|
|
0 |
0 |
elsif (ref $_ eq 'ARRAY') { }
|
325
|
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+\(.*\)$/)
|
344
|
0 |
0 |
if $error
|
346
|
0 |
0 |
if (defined $end_of_month_mode and $dt_duration)
|
362
|
0 |
16 |
if ($DateTime::Format::Pg::VERSION < 0.11) { }
|
367
|
0 |
0 |
if not defined $dur or $self->validate_interval_keyword($dur) or $self->keyword_function_calls and $dur =~ /^\w+\(.*\)$/
|
380
|
0 |
0 |
if not defined $dur or $self->validate_interval_keyword($dur) or $self->keyword_function_calls and $dur =~ /^\w+\(.*\)$/
|
391
|
0 |
0 |
unless my $dbh = $self->dbh
|
411
|
0 |
0 |
if ($error)
|
424
|
0 |
0 |
unless my $dbh = $self->dbh
|
445
|
0 |
0 |
if ($error)
|
454
|
0 |
0 |
defined((shift())->current_value_in_sequence(@_)) ? :
|
463
|
0 |
0 |
unless defined $table
|
466
|
0 |
0 |
unless defined $column
|
490
|
0 |
0 |
if (defined $default)
|
493
|
0 |
0 |
if ($default =~ /^nextval\(\(?'((?:''|[^']+))'::\w+/) { }
|
|
0 |
0 |
elsif ($default =~ /^NULL::[\w ]+$/) { }
|
495
|
0 |
0 |
$self->likes_lowercase_sequence_names ? :
|
498
|
0 |
0 |
if ($meta)
|
506
|
0 |
0 |
if (defined $seq and defined $implicit_schema and not defined $meta->schema)
|
514
|
0 |
0 |
if ($col_info->{'TYPE_NAME'} eq "integer" or $col_info->{'TYPE_NAME'} eq "bigint")
|
524
|
0 |
0 |
if ($seq =~ /^[^.]+\./)
|
527
|
0 |
0 |
if $schema
|
531
|
0 |
0 |
if (lc $seq eq lc $auto_seq)
|
534
|
0 |
0 |
$col_info->{'TYPE_NAME'} eq 'integer' ? :
|
549
|
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') { }
|
578
|
0 |
0 |
if ($col_info->{'pg_type'} =~ /^bit\((\d+)\)$/)
|
584
|
0 |
0 |
if ($col_info->{'pg_type'} =~ /^numeric/i)
|
588
|
0 |
0 |
if ($col_info->{'COLUMN_SIZE'} =~ /^(\d+),(\d+)$/) { }
|
|
0 |
0 |
elsif ($col_info->{'pg_type'} =~ /^numeric\((\d+),(\d+)\)$/i) { }
|
601
|
0 |
0 |
if (ref $col_info->{'pg_enum_values'} and @{$col_info->{'pg_enum_values'};})
|
611
|
0 |
0 |
if ($col_info->{'TYPE_NAME'} =~ /^\w.*\[\]$/)
|
629
|
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\(/) { }
|
650
|
0 |
0 |
if ($pg_vers >= 80000 and index($default, q['']) > 0) { }
|
|
0 |
0 |
elsif ($pg_vers < 80100 and index($default, q[\\']) > 0) { }
|
675
|
0 |
0 |
if (not defined $DBD_PG_AFTER_380 and defined $DBD::Pg::VERSION)
|
677
|
0 |
0 |
$DBD::Pg::VERSION =~ /^(\d+)\.(\d+)/ && ($1 >= 3 && $2 >= 8) ? :
|
680
|
0 |
0 |
if ($DBD_PG_AFTER_380)
|
691
|
0 |
0 |
$args{'include_views'} ? :
|
695
|
0 |
0 |
unless defined $schema
|
705
|
0 |
0 |
unless my $dbh = $self->dbh
|
724
|
0 |
0 |
if ($error)
|
729
|
0 |
0 |
wantarray ? :
|