Branch Coverage

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


line true false branch
25 0 0 if (defined $definition)
38 0 0 unless defined $table
58 0 0 if defined $column->column_def and not $self->_is_sequence_column($column)
59 0 0 unless $column->nullable
81 0 0 if ($column->column_def =~ qr/^nextval\('([^']+)'::regclass\)/)
93 0 0 if ($$row{'min_value'} eq '1') { }
100 0 0 if ($$row{'max_value'} eq '9223372036854775807') { }
114 0 0 unless defined $default_value
135 0 0 if $self->_is_pk($table, $$row{'indexname'})
148 0 0 if $$_{'indexdef'} =~ qr/\ACREATE UNIQUE INDEX/
174 0 0 if exists $rule{$$fk_info{'UPDATE_RULE'}}
175 0 0 if exists $rule{$$fk_info{'DELETE_RULE'}}
176 0 0 if $fk_info->deferability ne '7'