Branch Coverage

lib/Web/DataService/Plugin/Text.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
39 0 0 unless $request->display_header
44 0 0 if ($request->display_datainfo)
50 0 0 unless $info->{$key}
64 0 0 unless defined $param and $param ne ''
67 0 0 if (ref $value eq 'ARRAY') { }
80 0 0 if (my(@extra) = $request->extra_datainfo_keys)
84 0 0 unless defined $key
86 0 0 unless defined $value
90 0 0 if (ref $value and &reftype($value) eq 'HASH') { }
0 0 elsif (ref $value and &reftype($value) eq 'ARRAY') { }
96 0 0 if (defined $value->{'_keys'} and ref $value->{'_keys'} eq 'ARRAY') { }
108 0 0 if (ref $value->{$k} eq 'ARRAY') { }
126 0 0 if (ref $row eq 'ARRAY') { }
149 0 0 if ($request->display_counts)
157 0 0 if defined $counts->{'offset'} and $counts->{'offset'} > 0
162 0 0 if (my(@msgs) = $request->warnings)
169 0 0 if ($request->{'summary_data'} and $request->{'summary_field_list'})
180 0 0 if ($output ne '')
188 0 0 if (ref $field_list eq 'ARRAY' and @$field_list)
253 0 0 unless ref $field_list eq 'ARRAY'
267 0 0 if (defined $f->{'value'}) { }
0 0 elsif (defined $f->{'field'} and defined $$record{$f->{'field'}}) { }
280 0 0 if $f->{'if_field'} and not $$record{$f->{'if_field'}}
281 0 0 if $f->{'not_field'} and $$record{$f->{'not_field'}}
287 0 0 if $f->{'dedup'} and defined $$record{$f->{'field'}} and defined $$record{$f->{'dedup'}} and $$record{$f->{'field'}} eq $$record{$f->{'dedup'}}
292 0 0 if (ref $v eq 'ARRAY')
318 0 0 if ($request->output_format eq 'tsv') { }
345 0 0 unless defined $string
350 0 0 unless $string =~ /[^a-zA-Z0-9 _.;:<>-]/
385 0 0 unless defined $string
390 0 0 unless $string =~ /^[a-zA-Z0-9 _.,;:<>-]/