Condition Coverage

blib/lib/Rose/DB/Pg.pm
Criterion Covered Total %
condition 1 82 1.2


and 3 conditions

line !l l&&!r l&&r condition
217 0 0 0 $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
225 0 0 0 $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
233 0 0 0 $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
325 0 0 0 $self->keyword_function_calls and $value =~ /^\w+\(.*\)$/
346 0 0 0 defined $end_of_month_mode and $dt_duration
367 0 0 0 $self->keyword_function_calls and $dur =~ /^\w+\(.*\)$/
380 0 0 0 $self->keyword_function_calls and $dur =~ /^\w+\(.*\)$/
506 0 0 0 defined $seq and defined $implicit_schema
0 0 0 defined $seq and defined $implicit_schema and not defined $meta->schema
601 0 0 0 ref $col_info->{'pg_enum_values'} and @{$col_info->{'pg_enum_values'};}
629 0 0 0 /^B'([01]+)'::(?:bit|"bit")$/ and $col_info->{'TYPE_NAME'} eq 'bit'
0 0 0 /^(.+)::"?bigint"?$/i and $col_info->{'TYPE_NAME'} eq 'bigint'
650 0 0 0 $pg_vers >= 80000 and index($default, q['']) > 0
0 0 0 $pg_vers < 80100 and index($default, q[\\']) > 0
675 0 0 0 not defined $DBD_PG_AFTER_380 and defined $DBD::Pg::VERSION
677 0 0 0 $DBD::Pg::VERSION =~ /^(\d+)\.(\d+)/ && ($1 >= 3 && $2 >= 8)

or 2 conditions

line l !l condition
111 0 0 $lock->{'type'} ||= 'for update'
565 0 0 $1 || 0

or 3 conditions

line l !l&&r !l&&!r condition
40 0 10 0 $args{'db'} || $args{'database'}
294 0 0 0 ref $_[0] or defined $_[0]
325 0 0 0 not defined $value or UNIVERSAL::isa($value, 'DateTime::Duration')
0 0 0 not defined $value or UNIVERSAL::isa($value, 'DateTime::Duration') or $self->validate_interval_keyword($value)
0 0 0 not defined $value or UNIVERSAL::isa($value, 'DateTime::Duration') or $self->validate_interval_keyword($value) or $self->keyword_function_calls and $value =~ /^\w+\(.*\)$/
367 0 0 0 not defined $dur or $self->validate_interval_keyword($dur)
0 0 0 not defined $dur or $self->validate_interval_keyword($dur) or $self->keyword_function_calls and $dur =~ /^\w+\(.*\)$/
380 0 0 0 not defined $dur or $self->validate_interval_keyword($dur)
0 0 0 not defined $dur or $self->validate_interval_keyword($dur) or $self->keyword_function_calls and $dur =~ /^\w+\(.*\)$/
514 0 0 0 $col_info->{'TYPE_NAME'} eq 'integer' or $col_info->{'TYPE_NAME'} eq 'bigint'