blib/lib/Fey/Meta/Role/Relationship/ViaFK.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
57 | 6 | 8 | $self->_is_has_many ? : |
59 | 2 | 12 | if (@fk == 0) { } |
2 | 10 | elsif (@fk > 1) { } | |
87 | 2 | 10 | if ($fk->is_self_referential) { } |
88 | 1 | 1 | if ($self->_is_has_many) { } |
91 | 0 | 1 | unless $fk->target_table->has_candidate_key(@{$fk->target_columns;}) |
103 | 1 | 0 | if $fk->target_table->has_candidate_key(@{$fk->target_columns;}) |
107 | 6 | 4 | if $fk->target_table->name eq $self->foreign_table->name |