Branch Coverage

blib/lib/Otogiri/Plugin/TableInfo/Pg.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
32 0 0 unless defined $table
52 0 0 if defined $column->column_def and not $self->_is_sequence_column($column)
53 0 0 unless $column->nullable
75 0 0 if ($column->column_def =~ qr/^nextval\('([^']+)'::regclass\)/)
87 0 0 if ($$row{'min_value'} eq '1') { }
94 0 0 if ($$row{'max_value'} eq '9223372036854775807') { }
108 0 0 unless defined $default_value
129 0 0 if $self->_is_pk($table, $$row{'indexname'})
142 0 0 if $$_{'indexdef'} =~ qr/\ACREATE UNIQUE INDEX/
168 0 0 if exists $rule{$$fk_info{'UPDATE_RULE'}}
169 0 0 if exists $rule{$$fk_info{'DELETE_RULE'}}
170 0 0 if $fk_info->deferability ne '7'