blib/lib/SQL/Entity/Relationship.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
112 | 4 | 3 | unless $self->name |
127 | 0 | 3 | $condition && $join_condition ? : |
130 | 1 | 2 | $entity_condition ? : |
160 | 3 | 2 | if ($entity->to_one_relationship($self->name)) |
164 | 2 | 3 | unless my(@join_columns) = $self->join_columns |
165 | 0 | 3 | unless my(@primary_key) = $entity->primary_key |
169 | 1 | 2 | unless my $column = $entity->column($primary_key[$i]) |
173 | 1 | 1 | unless my $join_column = $target_entity->column($join_columns[$i]) |
203 | 0 | 1 | $order_by ? : |
216 | 3 | 0 | $self->join_columns ? : |