Condition Coverage

lib/Web/DataService/IRequest.pm
Criterion Covered Total %
condition 0 84 0.0


and 3 conditions

line !l l&&!r l&&r condition
115 0 0 0 defined $subst and ref $subst eq 'HASH'
258 0 0 0 defined $clean and $clean ne ''
334 0 0 0 defined $request->{'raw_body'} and $request->{'raw_body'} ne ''
404 0 0 0 defined $code and $code =~ qr/^\d\d\d$/
452 0 0 0 defined $field_name and $field_name ne ''
510 0 0 0 defined $_[0]{'result_limit'} && $_[0]{'result_limit'} ne 'all' && $_[0]{'result_limit'}
545 0 0 0 defined $limit and $limit ne 'all'
578 0 0 0 defined $arg and $arg eq '0' || $arg eq '1' || $arg eq '2'
654 0 0 0 defined $m and $m ne ''
790 0 0 0 ref $v and $v->can('regenerate')
835 0 0 0 defined $request->{'result_offset'} && $request->{'result_offset'} > 0
842 0 0 0 defined $request->{'result_limit'} and $request->{'result_limit'} ne 'all'
0 0 0 defined $request->{'result_limit'} and $request->{'result_limit'} ne 'all' and $window_start + $request->{'result_limit'} < $window_end
949 0 0 0 ref $record and &reftype($record) eq 'HASH'
970 0 0 0 scalar @_ == 1 and ref $_[0]
0 0 0 scalar @_ == 1 and ref $_[0] and &reftype($_[0]) eq 'ARRAY'
983 0 0 0 ref $item and &reftype($item) eq 'ARRAY' || &reftype($item) eq 'HASH'
1013 0 0 0 ref $data and &reftype($data) ne 'SCALAR'
1055 0 0 0 ref $sth and $sth->can('fetchrow_hashref')
1075 0 0 0 ref $_[0] and &reftype($_[0]) eq 'HASH'

or 2 conditions

line l !l condition
224 0 0 $request->{'valid'}->value($name) // ''
313 0 0 $request->{'ds'}{'backend_plugin'}->get_request_body // ''
329 0 0 $request->{'ds'}{'backend_plugin'}->get_request_body // ''
338 0 0 $request->{'ds'}{'backend_plugin'}->get_content_type // ''
526 0 0 $request->{'result_offset'} || 0
543 0 0 $request->{'result_offset'} || 0
826 0 0 $request->{'result_count'} // ''
0 0 $request->{'result_count'} // ''
0 0 $request->{'result_offset'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
578 0 0 0 $arg eq '0' || $arg eq '1' || $arg eq '2'
983 0 0 0 &reftype($item) eq 'ARRAY' || &reftype($item) eq 'HASH'