line | % | coverage | branch |
118 | 100 | T | F | if (exists $$href{$table}) |
142 | 100 | T | F | if ('MySQL::Util'->can($method)) |
174 | 50 | T | F | if @a > 3 |
176 | 50 | T | F | if (@a == 3) { } |
| 50 | T | F | elsif (@a == 2) { } |
199 | 50 | T | F | if ($conf) |
207 | 0 | T | F | if ($t eq $table) { } |
219 | 50 | T | F | if ($t eq $table) { } |
249 | 50 | T | F | if ($table =~ /^(\w+)\.(\w+)/) |
250 | 0 | T | F | if ($1 ne $self->_schema) |
257 | 50 | T | F | if ($$defaults_href{$col_name} =~ /^null$/i) |
280 | 100 | T | F | unless (defined $method) |
288 | 50 | T | F | unless $values |
316 | 50 | T | F | if ($self->is_fk_column('table', $table, 'column', $col_name)) { } |
327 | 50 | T | F | if ($fq) |
337 | 50 | T | F | unless ($tables{$ref_table}) |
372 | 50 | T | F | if ($self->is_fk_column('table', $table, 'column', $col_name)) { } |
395 | 50 | T | F | if $where |
422 | 50 | T | F | if (exists $$col_data_href{$col_name}) |
427 | 0 | T | F | if ($self->_column_exists('table', $table, 'column', $col_name)) |
433 | 0 | T | F | if (not defined $val) { } |
434 | 0 | T | F | if ($self->is_column_nullable('table', $table, 'column', $col_name)) { } |
481 | 50 | T | F | if ($where) |
487 | 50 | T | F | unless ($cnt) |
519 | 100 | T | F | unless (exists $$c{$func}) |
537 | 100 | T | F | if (defined $$c{$table}{$constraint_name}) |
563 | 100 | T | F | unless ($self->is_fk_column('table', $table, 'column', $col_name)) |
610 | 50 | T | F | if $extra_criteria |
650 | 100 | T | F | if (not $self->_get_constraint_non_fk_columns('table', $table, 'constraint_name', $constraint_name)) |
670 | 100 | T | F | if (not $href) { } |
671 | 50 | T | F | if ($self->is_self_referencing('table', $table)) { } |
| 50 | T | F | elsif ($self->_is_table_empty('table', $table, 'col_data_href', $col_data_href)) { } |
692 | 50 | T | F | unless (exists $$col_data_href{lc $col}) |
735 | 100 | T | F | if ($ref_fq eq $parent_table) |
779 | 50 | T | F | if (exists $$fk_tree{$ref_table_fq}) |
814 | 100 | T | F | if (not $depth) { } |
817 | 100 | T | F | if (scalar keys %{$$fk_tree{$parent_table};}) { } |
843 | 50 | T | F | unless ($from{"$table $alias"}) |
850 | 50 | T | F | if (scalar keys %{$$fk_tree{$parent_table};}) |
888 | 100 | T | F | if ($depth) |
895 | 100 | T | F | if (exists $$col_data_href{$col_name}) |
932 | 100 | T | F | if (scalar keys %$fk_tree) |
967 | 100 | T | F | if (not @a) { } |
980 | 100 | T | F | if $tmp |
997 | 100 | T | F | if $where |
1007 | 100 | T | F | if (not $href) { } |
1020 | 100 | T | F | unless (exists $$col_data_href{lc $col}) |
1021 | 50 | T | F | unless (defined $$href{$col}) |
1022 | 0 | T | F | unless ($self->is_column_nullable('table', $table, 'column', $col)) |
1081 | 100 | T | F | if ($depth != 0) |
1088 | 100 | T | F | if (exists $$remaining_data_href{$col_name}) |
1126 | 50 | T | F | if ($self->is_self_referencing('table', $ref_fq, 'name', $fk_name)) |
1144 | 100 | T | F | if ($href or $depth == 0) |
1146 | 100 | T | F | unless ($href) |
1155 | 100 | T | F | if ($hit) |
1178 | 50 | T | F | unless (exists $$col_data_href{$col}) |
1179 | 0 | T | F | unless ($self->is_column_nullable('table', $table, 'column', $col)) |
1208 | 50 | T | F | if ($self->has_ak($table)) |
1236 | 100 | T | F | if ($self->has_pk($table) and not $self->is_pk_auto_inc($table)) |
1291 | 100 | T | F | if exists $$col_data_href{$name} |
1292 | 100 | T | F | if $$col{'EXTRA'} =~ /auto/ |
1294 | 50 | T | F | if $self->is_fk_column('table', $table, 'column', $col) |
1296 | 50 | T | F | if ($type =~ /varchar\((\d+)\)/) { } |
| 50 | T | F | elsif ($type =~ /char\((\d+)\)/) { } |
| 50 | T | F | elsif ($type =~ /int\((\d+)\)/) { } |
| 0 | T | F | elsif ($type =~ /date/) { } |
| 0 | T | F | elsif ($type =~ /^enum\((.+)\)$/) { } |
1338 | 100 | T | F | if $$col_href{'EXTRA'} =~ /auto/ |
1339 | 100 | T | F | if exists $$col_data_href{$col_name} |
1345 | 50 | T | F | if ($type =~ /^enum\((.+)\)$/) |
1383 | 50 | T | F | if ($self->is_fk_column('table', $table, 'column', $col_name)) { } |
1394 | 50 | T | F | if ($fq) |
1403 | 0 | T | F | if ($fq) |