Branch Coverage

blib/lib/DBIx/NoSQL/Model.pm
Criterion Covered Total %
branch 26 46 56.5


line true false branch
30 0 14 unless @_
32 0 14 if $self->field_map->{$name}
100 1 32 if (ref $key and not $target)
105 0 33 if (&blessed($target))
110 33 0 if (ref $target)
122 18 15 if ($self->searchable)
141 1 9 unless $result
151 1 0 if ($result)
155 1 0 if ($self->searchable)
164 0 16 if (my $wrapper = $self->wrapper)
165 0 0 if (ref $wrapper eq 'CODE') { }
180 0 0 if &blessed($target)
191 2 0 if defined $entity->{$field}
204 2 0 if defined $target->{$field}
208 2 43 if exists $data->{$key}
209 0 43 ref $value ? :
219 0 29 if ref $value
229 0 33 unless ref $data
241 0 11 unless $self->searchable
247 40 10 unless @_
255 0 2 unless $self->searchable
257 0 2 unless ($self->index)
267 0 16 unless $self->searchable