line |
true |
false |
branch |
41
|
0 |
15912 |
unless $_[0]->name |
156
|
6 |
237 |
unless $type_mapping{lc $_[0]->data_type} |
218
|
560 |
5 |
if (my $table = $self->table) |
219
|
538 |
22 |
if (my $schema = $table->schema) |
220
|
1 |
537 |
if ($schema->database eq "PostgreSQL" and $self->data_type eq "serial") |
249
|
177 |
0 |
if (my $table = $self->table) |
251
|
93 |
278 |
if ($c->type eq "FOREIGN KEY") |
253
|
14 |
79 |
if ($fields{$self->name}) |
311
|
560 |
2 |
if (my $table = $self->table) |
312
|
431 |
129 |
if (my $pk = $table->primary_key) |
335
|
91 |
0 |
if (my $table = $self->table) |
337
|
77 |
126 |
if ($c->type eq "UNIQUE") |
339
|
10 |
67 |
if ($fields{$self->name}) |
361
|
0 |
320 |
unless $self->name |
362
|
0 |
320 |
unless $self->data_type |
363
|
0 |
320 |
unless $self->table |
442
|
1 |
0 |
if (my $table = $self->table) |