Condition Coverage

lib/DBIx/EAV.pm
Criterion Covered Total %
condition 12 19 63.1


and 3 conditions

line !l l&&!r l&&r condition
311 5 0 0 $inheritance_row and $inheritance_row->{'parent_type_id'} ne $parent_type->id

or 2 conditions

line l !l condition
65 1 0 $constructor_params //= {}
236 2 88 $self->_resolve_resultset_class($type->name) || 'DBIx::EAV::ResultSet'

or 3 conditions

line l !l&&r !l&&!r condition
364 97 16 0 delete $data{'type'} || $self->default_attribute_type
386 11 27 0 $params->{'name'} ||= $reltype =~ /_many$/ ? lc Lingua::EN::Inflect::PL($other_entity->name) : lc $other_entity->name
390 11 27 0 $params->{'incoming_name'} ||= $reltype eq 'many_to_many' ? lc Lingua::EN::Inflect::PL($type->{'name'}) : lc $type->{'name'}
458 33 13 0 $type || $self->default_attribute_type