Branch Coverage

blib/lib/CGI/Lazy/Widget/Dataset.pm
Criterion Covered Total %
branch 0 206 0.0


line true false branch
28 0 0 if ($$webcontrol{'value'}) { }
0 0 elsif ($$webcontrol{'sql'}) { }
29 0 0 if ($value eq $$webcontrol{'value'}) { }
39 0 0 if ($value eq $lookupvalue) { }
56 0 0 unless $self->vars->{'nodelete'}
73 0 0 if ($$webcontrol{'values'}) { }
0 0 elsif ($$webcontrol{'sql'}) { }
74 0 0 if (ref $$webcontrol{'values'} eq 'HASH') { }
0 0 elsif (ref $$webcontrol{'values'} eq 'ARRAY') { }
75 0 0 unless $$webcontrol{'notNull'}
78 0 0 unless $$webcontrol{'notNull'}
87 0 0 unless $$webcontrol{'notNull'}
94 0 0 if ($$vals{$_} eq $value) { }
118 0 0 if ($$webcontrol{'values'}) { }
0 0 elsif ($$webcontrol{'sql'}) { }
120 0 0 if (ref $$webcontrol{'values'} eq 'HASH') { }
0 0 elsif (ref $$webcontrol{'values'} eq 'ARRAY') { }
137 0 0 if ($$vals{$_} eq $value) { }
168 0 0 if ($self->recordset->validator($_))
171 0 0 if ($self->type eq 'multi') { }
0 0 elsif ($self->type eq 'single') { }
191 0 0 if ($args{'mode'} eq 'readonly') { }
214 0 0 unless $type
216 0 0 if ($type eq 'single')
217 0 0 unless $multiType
220 0 0 if ($standalone)
226 0 0 unless $args{'mode'} eq 'blank'
230 0 0 scalar @{$recset->data;} ? :
234 0 0 if ($type eq 'multi') { }
0 0 elsif ($type eq 'single') { }
235 0 0 if ($headings and $headings eq 'none') { }
0 0 elsif ($headings) { }
242 0 0 unless $nodelete
255 0 0 unless $nodelete
256 0 0 unless $nodelete
260 0 0 if ($recset->handle($fieldname))
264 0 0 unless ($recset->hidden($fieldname))
270 0 0 unless $recset->noLabel($fieldname)
274 0 0 if ($recset->outputMask($fieldname)) { }
280 0 0 if ($recset->webcontrol($fieldname)) { }
284 0 0 if ($type eq 'select') { }
0 0 elsif ($type eq 'checkbox') { }
0 0 elsif ($type eq 'radio') { }
299 0 0 if ($recset->validator($fieldname))
317 0 0 unless $nodelete
318 0 0 unless $nodelete
325 0 0 unless $recset->noLabel($field)
327 0 0 if ($recset->webcontrol($field)) { }
331 0 0 if ($type eq 'select') { }
0 0 elsif ($type eq 'checkbox') { }
0 0 elsif ($type eq 'radio') { }
349 0 0 if ($recset->validator($field))
364 0 0 if (scalar @{$recset->data;} > 1) { }
0 0 elsif (scalar @{$recset->data;} == 0) { }
365 0 0 unless ($$vars{'multiType'} eq 'sequential')
376 0 0 if ($field eq '-recordnum') { }
0 0 elsif ($args{'vars'}{$field}{'handle'}) { }
386 0 0 if ($args{'mode'} eq 'blank') { }
388 0 0 unless ($recset->hidden($fieldname))
392 0 0 unless $recset->noLabel($fieldname)
396 0 0 if ($recset->webcontrol($fieldname))
400 0 0 if ($type eq 'select') { }
0 0 elsif ($type eq 'checkbox') { }
0 0 elsif ($type eq 'radio') { }
416 0 0 if ($recset->outputMask($fieldname)) { }
422 0 0 if ($recset->handle($fieldname))
426 0 0 unless ($recset->hidden($fieldname))
430 0 0 unless $recset->noLabel($fieldname)
435 0 0 if ($recset->webcontrol($fieldname)) { }
439 0 0 if ($type eq 'select') { }
0 0 elsif ($type eq 'checkbox') { }
0 0 elsif ($type eq 'radio') { }
459 0 0 if (ref $self->vars->{'extravars'}{$extra}{'value'}) { }
470 0 0 $args{'nodiv'} ? :
471 0 0 $args{'nodiv'} ? :
488 0 0 if ($javascript)
489 0 0 unless $self->q->config->noMinify
534 0 0 if ($standalone)
548 0 0 if ($recset->multipleField($field))
551 0 0 if ($recset->webcontrol($field)) { }
555 0 0 if ($type eq 'select') { }
0 0 elsif ($type eq 'checkbox') { }
0 0 elsif ($type eq 'radio') { }
589 0 0 $args{'nodiv'} ? :
590 0 0 $args{'nodiv'} ? :
626 0 0 unless (ref $$vars{'recordset'} eq 'CGI::Lazy::DB::RecordSet')
669 0 0 if ($$webcontrol{'value'}) { }
0 0 elsif ($$webcontrol{'sql'}) { }
670 0 0 if ($value eq $$webcontrol{'value'}) { }
680 0 0 if ($value eq $lookupvalue) { }
699 0 0 if ($$webcontrol{'values'}) { }
0 0 elsif ($$webcontrol{'sql'}) { }
701 0 0 if (ref $$webcontrol{'values'} eq 'HASH') { }
0 0 elsif (ref $$webcontrol{'values'} eq 'ARRAY') { }
718 0 0 if ($$vals{$_} eq $value)
738 0 0 if ($$webcontrol{'values'}) { }
0 0 elsif ($$webcontrol{'sql'}) { }
739 0 0 if (ref $$webcontrol{'values'} eq 'HASH') { }
0 0 elsif (ref $$webcontrol{'values'} eq 'ARRAY') { }
740 0 0 unless $$webcontrol{'notNull'}
743 0 0 unless $$webcontrol{'notNull'}
752 0 0 unless $$webcontrol{'notNull'}
758 0 0 if ($$vals{$_} eq $value)