Branch Coverage

blib/lib/DBIx/NoSQL/Search.pm
Criterion Covered Total %
branch 19 38 50.0


line true false branch
38 0 0 if (my $_where = $self->_where)
49 4 1 unless ref $order_by
51 0 5 if (my $_order_by = $self->_order_by)
78 2 14 unless defined $target
81 5 11 if (my $order_by = $self->_order_by)
99 9 7 if ($target eq 'value') { }
7 0 elsif ($target eq 'count') { }
129 4 3 if ($as eq 'object') { }
0 3 elsif ($as eq 'entity') { }
3 0 elsif ($as eq 'data' or $as eq 'hash') { }
0 0 elsif ($as eq 'value') { }
148 2 0 if ref $value
151 1 1 unless $value
153 1 0 if ($as eq 'object') { }
0 0 elsif ($as eq 'entity') { }
0 0 elsif ($as eq 'data' or $as eq 'hash') { }
0 0 elsif ($as eq 'value') { }
183 0 0 $to ? :
192 0 7 unless my $result = $cursor->next