line |
!l |
l&&!r |
l&&r |
condition |
43
|
9 |
8 |
0 |
$rel->{'is_has_many'} and $rel->{'is_right_entity'} |
148
|
1 |
136 |
0 |
defined $value and exists $self->raw->{$attr_name} |
|
130 |
1 |
5 |
defined $value and exists $self->raw->{$attr_name} and defined $self->raw->{$attr_name} |
|
131 |
5 |
0 |
defined $value and exists $self->raw->{$attr_name} and defined $self->raw->{$attr_name} and $value eq $self->raw->{$attr_name} |
165
|
0 |
0 |
0 |
&blessed($data) and $data->isa('DBIx::EAV::Entity') |
169
|
1 |
15 |
0 |
ref $data eq 'ARRAY' and $rel->{'is_has_one'} || $rel->{'is_has_many'} && $rel->{'is_right_entity'} |
332
|
1 |
1 |
0 |
$rel->{'is_has_many'} and $rel->{'is_right_entity'} |
343
|
1 |
1 |
0 |
$rel->{'is_has_many'} and $rel->{'is_right_entity'} |
353
|
0 |
0 |
2 |
&blessed($entity) and $entity->isa('DBIx::EAV::Entity') |
|
0 |
0 |
2 |
&blessed($entity) and $entity->isa('DBIx::EAV::Entity') and $entity->type->name eq $rel->{'entity'} |
389
|
21 |
0 |
0 |
exists $rel->{'cascade_delete'} and $rel->{'cascade_delete'} == 0 |
line |
l |
!l&&r |
!l&&!r |
condition |
43
|
3 |
0 |
17 |
$rel->{'is_has_one'} or $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
115
|
0 |
0 |
98 |
1 > $numargs or $numargs > 2 |
165
|
1 |
15 |
0 |
ref $data eq 'HASH' or ref $data eq 'ARRAY' |
|
16 |
0 |
0 |
ref $data eq 'HASH' or ref $data eq 'ARRAY' or &blessed($data) and $data->isa('DBIx::EAV::Entity') |
169
|
0 |
0 |
15 |
$rel->{'is_has_one'} || $rel->{'is_has_many'} && $rel->{'is_right_entity'} |
332
|
1 |
0 |
2 |
$rel->{'is_has_one'} or $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
343
|
1 |
0 |
2 |
$rel->{'is_has_one'} or $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
389
|
26 |
0 |
27 |
$rel->{'is_right_entity'} or $rel->{'is_many_to_many'} |
|
6 |
0 |
21 |
$rel->{'is_right_entity'} or $rel->{'is_many_to_many'} or exists $rel->{'cascade_delete'} and $rel->{'cascade_delete'} == 0 |