Branch Coverage

lib/Web/DataService/Plugin/Text.pm
Criterion Covered Total %
branch 0 46 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') { }
82 0 0 if ($request->display_counts)
90 0 0 if defined $counts->{'offset'} and $counts->{'offset'} > 0
95 0 0 if (my(@msgs) = $request->warnings)
102 0 0 if ($request->{'summary_data'} and $request->{'summary_field_list'})
113 0 0 if ($output ne '')
121 0 0 if (ref $field_list eq 'ARRAY' and @$field_list)
186 0 0 unless ref $field_list eq 'ARRAY'
200 0 0 if (defined $f->{'value'}) { }
0 0 elsif (defined $f->{'field'} and defined $$record{$f->{'field'}}) { }
213 0 0 if $f->{'if_field'} and not $$record{$f->{'if_field'}}
214 0 0 if $f->{'not_field'} and $$record{$f->{'not_field'}}
220 0 0 if $f->{'dedup'} and defined $$record{$f->{'field'}} and defined $$record{$f->{'dedup'}} and $$record{$f->{'field'}} eq $$record{$f->{'dedup'}}
225 0 0 if (ref $v eq 'ARRAY')
251 0 0 if ($request->output_format eq 'tsv') { }
278 0 0 unless defined $string
283 0 0 unless $string =~ /[^a-zA-Z0-9 _.;:<>-]/
318 0 0 unless defined $string
323 0 0 unless $string =~ /^[a-zA-Z0-9 _.,;:<>-]/