Condition Coverage

blib/lib/RapidApp/Module/DatStor.pm
Criterion Covered Total %
condition 18 82 21.9


and 2 conditions

line l !l condition
333 0 0 match_glob($gl, $_) and $cols{$_} = 1

and 3 conditions

line !l l&&!r l&&r condition
144 0 33 0 defined $self->base_params and scalar keys %{$self->base_params;} > 0
222 22 0 0 exists $r_parms->{'base_params'} and exists $r_parms->{'base_params_base64'}
457 0 0 0 &$coderef($_) and $self->columns->{$_}->apply_attributes(%opt)
477 0 0 0 $opt eq 'columns' and ref $opts{$opt} eq 'HASH'
500 0 0 0 $opt eq 'columns' and ref $opts{$opt} eq 'HASH'
531 97 0 0 ref $_[0] eq 'ARRAY' && !defined($_[1])
628 0 0 8 defined $self->read_handler and $self->has_flag('can_read')
637 0 0 8 ref $data eq 'HASH' and exists $data->{'results'}
0 0 8 ref $data eq 'HASH' and exists $data->{'results'} and ref $data->{'rows'} eq 'ARRAY'
741 0 0 3 ref $result eq 'HASH' and defined $result->{'success'}
777 0 0 0 ref $result and defined $result->{'rows'}
0 0 0 ref $result and defined $result->{'rows'} and defined $result->{'rows'}{$self->record_pk}
780 0 0 0 ref $result and ref $result->{'rows'} eq 'ARRAY'
782 0 0 0 ref $result and defined $result->{'success'}
0 0 0 ref $result and defined $result->{'success'} and defined $result->{'msg'}
794 0 0 0 ref $result && $result->{'success'} == 0
0 0 0 $result and not ref $result && $result->{'success'} == 0
827 0 0 0 ref $result eq 'HASH' and $result->{'success'}

or 2 conditions

line l !l condition
679 8 0 shift() || []

or 3 conditions

line l !l&&r !l&&!r condition
348 0 0 0 ref $offset or ref $_[0]
587 3 5 0 $params ||= $self->params_from_request
604 0 0 8 not $self->max_pagesize or $params->{'ignore_page_size'}
608 3 0 5 not defined $params->{'limit'} or $params->{'limit'} > $self->max_pagesize
3 0 5 not defined $params->{'limit'} or $params->{'limit'} > $self->max_pagesize or not defined $params->{'start'}
614 3 0 0 not defined $params->{'limit'} or $params->{'limit'} > $self->max_pagesize
629 8 0 0 $params ||= $self->params_from_request
683 1 0 0 $self->store_fields || $self->store_fields_from_rows($rows)