Branch Coverage

blib/lib/Geoffrey/Converter/Pg.pm
Criterion Covered Total %
branch 13 38 34.2


line true false branch
210 0 0 $options->{'for_view'} ? :
229 0 2 if ($hr_column_params->{'default'} and $hr_column_params->{'default'} eq 'autoincrement')
232 0 0 lc $hr_column_params->{'type'} eq 'smallint' ? :
0 0 lc $hr_column_params->{'type'} eq 'bigint' ? :
321 1 1 $params->{'default'} ? :
322 1 1 if ($params->{'default'} and $params->{'type'} eq 'bit')
330 0 1 if $default_value =~ /\w+\s*(?:\((\d+)\))::(.*)(?:\;|\s)/u
338 0 1 if scalar @{$ar_raw_data;} == 0
349 7 0 if scalar @column == 0
350 0 0 if $column[$I_CONST_LENGTH_VALUE]
351 0 0 $column[$I_CONST_LENGTH_VALUE] ? :
0 0 $column[$I_CONST_NOT_NULL_VALUE] ? :
0 0 $column[$I_CONST_PRIMARY_KEY_VALUE] ? :
0 0 $column[$I_CONST_DEFAULT_VALUE] ? :
368 0 0 unless $_->{'sql'}
379 0 1 unless $ar_raw_data
389 0 1 if defined $new_value
403 0 1 if defined $new_value
432 7 2 $b_ignore_require ? :