| blib/lib/Data/Generator/FromDDL/Director.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 22 | 68.1 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 0 | 20 | unless @tables |
| 27 | 21 | 0 | if ($n) |
| 55 | 1 | 20 | if (ref $num eq 'HASH') { } |
| 56 | 0 | 1 | exists $$num{'tables'}{$table_name} ? : |
| 78 | 1 | 19 | if (scalar @include) { } |
| 0 | 19 | elsif (scalar @exclude) { } | |
| 80 | 1 | 1 | if any sub { $t->name eq $_; } , @include |
| 84 | 0 | 0 | unless any sub { $t->name eq $_; } , @exclude |
| 102 | 0 | 21 | if (@before == @unresolved) |
| 116 | 21 | 1 | if ($self->_exist_all_foreign_key_reference($ur, $resolved)) { } |
| 130 | 1 | 1 | unless (grep {$ref_table eq $_->name;} @$others) |