lib/DBIx/EAV/Entity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 64 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
43 | 0 | 0 | 0 | $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
148 | 0 | 0 | 0 | defined $value and exists $self->raw->{$attr_name} |
0 | 0 | 0 | defined $value and exists $self->raw->{$attr_name} and defined $self->raw->{$attr_name} | |
0 | 0 | 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 | 0 | 0 | 0 | ref $data eq 'ARRAY' and $rel->{'is_has_one'} || $rel->{'is_has_many'} && $rel->{'is_right_entity'} |
332 | 0 | 0 | 0 | $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
343 | 0 | 0 | 0 | $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
353 | 0 | 0 | 0 | &blessed($entity) and $entity->isa('DBIx::EAV::Entity') |
0 | 0 | 0 | &blessed($entity) and $entity->isa('DBIx::EAV::Entity') and $entity->type->name eq $rel->{'entity'} | |
389 | 0 | 0 | 0 | exists $rel->{'cascade_delete'} and $rel->{'cascade_delete'} == 0 |
line | l | !l | condition |
---|---|---|---|
54 | 0 | 0 | $query //= {} |
274 | 0 | 0 | $options //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
43 | 0 | 0 | 0 | $rel->{'is_has_one'} or $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
115 | 0 | 0 | 0 | 1 > $numargs or $numargs > 2 |
165 | 0 | 0 | 0 | ref $data eq 'HASH' or ref $data eq 'ARRAY' |
0 | 0 | 0 | ref $data eq 'HASH' or ref $data eq 'ARRAY' or &blessed($data) and $data->isa('DBIx::EAV::Entity') | |
169 | 0 | 0 | 0 | $rel->{'is_has_one'} || $rel->{'is_has_many'} && $rel->{'is_right_entity'} |
332 | 0 | 0 | 0 | $rel->{'is_has_one'} or $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
343 | 0 | 0 | 0 | $rel->{'is_has_one'} or $rel->{'is_has_many'} and $rel->{'is_right_entity'} |
389 | 0 | 0 | 0 | $rel->{'is_right_entity'} or $rel->{'is_many_to_many'} |
0 | 0 | 0 | $rel->{'is_right_entity'} or $rel->{'is_many_to_many'} or exists $rel->{'cascade_delete'} and $rel->{'cascade_delete'} == 0 |