Condition Coverage

lib/Web/DataService/Plugin/JSON.pm
Criterion Covered Total %
condition 0 95 0.0


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 0 defined $param and $param ne ''
95 0 0 0 defined $counts->{'offset'} and $counts->{'offset'} > 0
114 0 0 0 $request->{'summary_data'} and $request->{'summary_field_list'}
176 0 0 0 defined $warnings and !ref($warnings) eq 'ARRAY'
182 0 0 0 ref $errors eq 'ARRAY' and @$errors
183 0 0 0 ref $cautions eq 'ARRAY' and @$cautions
184 0 0 0 ref $warnings eq 'ARRAY' and @$warnings
220 0 0 0 &reftype($field_list) && &reftype($field_list) eq 'ARRAY'
228 0 0 0 defined $record->{$field} and $record->{$field} ne ''
234 0 0 0 $f->{'dedup'} and defined $record->{$field}
0 0 0 $f->{'dedup'} and defined $record->{$field} and defined $$record{$f->{'dedup'}}
0 0 0 $f->{'dedup'} and defined $record->{$field} and defined $$record{$f->{'dedup'}} and $record->{$field} eq $$record{$f->{'dedup'}}
239 0 0 0 $f->{'if_field'} and not $$record{$f->{'if_field'}}
244 0 0 0 $f->{'not_field'} and $$record{$f->{'not_field'}}
268 0 0 0 ref $value and &reftype($value) eq 'HASH'
0 0 0 ref $value and &reftype($value) eq 'ARRAY'
270 0 0 0 $proc_list and @$proc_list
272 0 0 0 $output_list and @$output_list
287 0 0 0 $proc_list and @$proc_list
295 0 0 0 $output_list and @$output_list
367 0 0 0 &reftype($field_list) and &reftype($field_list) ne 'ARRAY'
381 0 0 0 &reftype($elt) and &reftype($elt) eq 'ARRAY'
0 0 0 &reftype($elt) and &reftype($elt) eq 'HASH'
402 0 0 0 defined $value and $value ne ''
451 0 0 0 defined $string and $string ne ''
457 0 0 0 defined $data_type && $data_type eq 'str'
0 0 0 $string =~ qr/ ^ -? (?: [1-9][0-9]* | 0 ) (?: \. [0-9]+ )? (?: [Ee] -? [0-9]+ )? $ /x and not defined $data_type && $data_type eq 'str'

or 2 conditions

line l !l condition
65 0 0 $value //= ''
92 0 0 $counts->{'found'} || '0'
93 0 0 $counts->{'returned'} || '0'
117 0 0 $class->emit_object($request, $request->{'summary_data'}, $request->{'summary_field_list'}) || '""'

or 3 conditions

line l !l&&r !l&&!r condition
228 0 0 0 $f->{'always'} or defined $f->{'value'}
0 0 0 $f->{'always'} or defined $f->{'value'} or defined $record->{$field} and $record->{$field} ne ''