Condition Coverage

lib/CatalystX/CRUD/Model/Utils.pm
Criterion Covered Total %
condition 11 39 28.2


and 3 conditions

line !l l&&!r l&&r condition
144 10 0 0 defined $params->{$p} and defined $dir
162 6 0 0 exists $c->req->params->{'cxc-query-fields'} and exists $c->req->params->{'cxc-query'}
250 0 0 6 defined $field_names and ref $field_names eq "ARRAY"

or 2 conditions

line l !l condition
186 0 6 $params->{'cxc-page'} || $params->{'_page'} || 1
255 0 6 $self->ne_sign || '!='
260 0 5 $params->{'cxc-op'} || $params->{'_op'} || 'AND'
261 0 6 $params->{'cxc-fuzzy'} || $params->{'_fuzzy'} || 0
262 0 6 $params->{'cxc-fuzzy2'} || 0
403 0 0 $params->{'cxc-page'} || $params->{'_page'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
142 0 0 10 $params->{'cxc-dir'} || $params->{'_dir'}
156 0 0 0 shift() || $c->req->params->{'cxc-query-fields'} || $c->controller->field_names($c) || $self->throw_error('field_names required')
176 0 0 6 $params->{'cxc-offset'} || $params->{'_offset'}
179 6 0 0 $params->{'cxc-page_size'} || $params->{'_page_size'} || $c->controller->page_size || $self->page_size
395 0 0 0 $params->{'cxc-no_page'} or $params->{'_no_page'}
403 0 0 0 $params->{'cxc-page_size'} || $params->{'_page_size'} || $c->controller->page_size || $self->page_size