| line |
true |
false |
branch |
|
41
|
0 |
17738 |
unless $_[0]->name |
|
155
|
58 |
269 |
unless $type_mapping{lc $_[0]->data_type} |
|
216
|
709 |
5 |
if (my $table = $self->table) |
|
217
|
687 |
22 |
if (my $schema = $table->schema) |
|
218
|
1 |
686 |
if ($schema->database eq "PostgreSQL" and $self->data_type eq "serial") |
|
245
|
175 |
0 |
if (my $table = $self->table) |
|
247
|
93 |
276 |
if ($c->type eq "FOREIGN KEY") |
|
249
|
14 |
79 |
if ($fields{$self->name}) |
|
307
|
673 |
2 |
if (my $table = $self->table) |
|
308
|
542 |
131 |
if (my $pk = $table->primary_key) |
|
331
|
90 |
0 |
if (my $table = $self->table) |
|
333
|
77 |
125 |
if ($c->type eq "UNIQUE") |
|
335
|
10 |
67 |
if ($fields{$self->name}) |
|
357
|
0 |
320 |
unless $self->name |
|
358
|
0 |
320 |
unless $self->data_type |
|
359
|
0 |
320 |
unless $self->table |
|
438
|
1 |
0 |
if (my $table = $self->table) |