Condition Coverage

blib/lib/DBIx/DataModel/Meta/Association.pm
Criterion Covered Total %
condition 13 33 39.3


and 3 conditions

line !l l&&!r l&&r condition
63 52 14 0 $assoc_end->{'join_cols'} and not @{$assoc_end->{'join_cols'};}
77 28 3 2 $self->{'A'}{'multiplicity'}[1] > 1 and $self->{'B'}{'multiplicity'}[1] > 1
239 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
252 14 0 14 $mult->[0] == 1 && $mult->[1] == 1

or 3 conditions

line l !l&&r !l&&!r condition
73 0 33 0 $self->{'name'} ||= join("_", @names)
87 3 0 0 $self->{'B'}{'join_cols'} ||= $self->{'B'}{'table'}{'primary_key'}
88 3 0 0 $self->{'A'}{'join_cols'} ||= $self->{'B'}{'join_cols'}
91 0 26 0 $self->{'A'}{'join_cols'} ||= $self->{'A'}{'table'}{'primary_key'}
92 0 26 0 $self->{'B'}{'join_cols'} ||= $self->{'A'}{'join_cols'}
108 33 0 0 $self->{'A'}{'role'} or $self->{'B'}{'role'}