Branch Coverage

lib/DBIx/EAV/ResultSet.pm
Criterion Covered Total %
branch 41 50 82.0


line true false branch
51 82 0 if ref $data eq 'HASH'
60 9 66 if $data->{'entity_type_id'} and $data->{'entity_type_id'} != $type->id
81 0 16 unless ref $data eq 'ARRAY'
88 2 14 wantarray ? :
112 3 0 if $self->eav->schema->db_driver_name eq 'SQLite'
115 0 0 unless ($eav->schema->database_cascade_delete)
155 0 4 scalar @_ > 0 ? :
170 0 10 unless defined $criteria
174 1 9 unless ref $criteria
181 1 8 if defined $result and defined $rs->cursor->next
193 2 46 wantarray ? :
201 45 14 if $query
220 40 19 unless defined $options
223 0 19 if $options eq ''
228 36 3 if (not exists $merged{$opt}) { }
1 2 elsif ($opt eq 'having') { }
1 1 elsif (ref $merged{$opt} eq 'ARRAY') { }
243 1 0 ref $options->{$opt} eq 'ARRAY' ? :
258 3 14 if @_
268 2 12 if $offset
269 1 13 if $count < 0
270 1 13 if $limit and $count > $limit
282 3 11 if $options->{'group_by'} or $options->{'distinct'}
316 37 75 unless defined $entity_row
334 17 1 wantarray ? :