line |
true |
false |
branch |
27
|
0 |
0 |
if ref $class |
50
|
0 |
0 |
unless $self->has_parent |
63
|
0 |
0 |
if $self->name eq $type |
65
|
0 |
0 |
if $parent->name eq $type |
75
|
0 |
0 |
if exists $self->_attributes->{$name} or exists $self->_static_attributes->{$name} |
76
|
0 |
0 |
unless $self->has_parent |
80
|
0 |
0 |
if $parent->has_own_attribute($name) |
94
|
0 |
0 |
unless exists $self->_attributes->{$name} |
99
|
0 |
0 |
unless $self->has_parent |
102
|
0 |
0 |
if exists $parent->_attributes->{$name} |
113
|
0 |
0 |
if exists $self->_attributes->{$name} |
116
|
0 |
0 |
if exists $self->_static_attributes->{$name} |
122
|
0 |
0 |
if exists $parent->_attributes->{$name} |
136
|
0 |
0 |
unless $options{'no_static'} |
140
|
0 |
0 |
unless $options{'no_own'} |
143
|
0 |
0 |
unless ($options{'no_inherited'}) |
152
|
0 |
0 |
$options{'names'} ? : |
165
|
0 |
0 |
if exists $self->_relationships->{$name} |
166
|
0 |
0 |
unless $self->has_parent |
170
|
0 |
0 |
if $parent->has_own_relationship($name) |
182
|
0 |
0 |
if exists $self->_relationships->{$name} |
188
|
0 |
0 |
if exists $parent->_relationships->{$name} |
203
|
0 |
0 |
unless ($options{'no_inherited'}) |
212
|
0 |
0 |
$options{'names'} ? : |
220
|
0 |
0 |
unless ref $params |
223
|
0 |
0 |
if (ref $params eq 'ARRAY') |
233
|
0 |
0 |
unless $params->{'entity'} |
237
|
0 |
0 |
$reltype =~ /_many$/ ? : |
240
|
0 |
0 |
$reltype eq 'many_to_many' ? : |
258
|
0 |
0 |
if ($existing_rel) { } |
268
|
0 |
0 |
if keys %changed_cols > 0 |
273
|
0 |
0 |
unless $id |
286
|
0 |
0 |
if $self->has_relationship($relname) |
299
|
0 |
0 |
if $other_entity->has_relationship($rel->{'incoming_name'}) |