blib/lib/DBIx/DataModel/Meta/Association.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 30 | 36.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 52 | 12 | 0 | $assoc_end->{'join_cols'} and not @{$assoc_end->{'join_cols'};} |
74 | 28 | 2 | 2 | $self->{'A'}{'multiplicity'}[1] > 1 and $self->{'B'}{'multiplicity'}[1] > 1 |
235 | 0 | 0 | 0 | $path->association->kind eq "Composition" and $path->direction eq "BA" |
0 | 0 | 0 | $path->association->kind eq "Composition" and $path->direction eq "BA" and ($path->multiplicity)[0] > 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 0 | 32 | 0 | $self->{'name'} ||= join("_", @names) |
84 | 2 | 0 | 0 | $self->{'B'}{'join_cols'} ||= $self->{'B'}{'table'}{'primary_key'} |
85 | 2 | 0 | 0 | $self->{'A'}{'join_cols'} ||= $self->{'B'}{'join_cols'} |
88 | 0 | 26 | 0 | $self->{'A'}{'join_cols'} ||= $self->{'A'}{'table'}{'primary_key'} |
89 | 0 | 26 | 0 | $self->{'B'}{'join_cols'} ||= $self->{'A'}{'join_cols'} |
105 | 32 | 0 | 0 | $self->{'A'}{'role'} or $self->{'B'}{'role'} |