Branch Coverage

blib/lib/CGI/Lazy/DB/RecordSet.pm
Criterion Covered Total %
branch 0 214 0.0


line true false branch
27 0 0 $self->orderby ? :
32 0 0 if (ref $self->where) { }
37 0 0 if ($self->basewhere) { }
38 0 0 $self->where ? :
40 0 0 $self->where ? :
44 0 0 if ($self->basewhere) { }
45 0 0 $self->where ? :
47 0 0 $self->where ? :
54 0 0 unless ($self->displayOnly($field))
55 0 0 if ($self->readfunc($field)) { }
0 0 elsif ($self->passwd($field)) { }
65 0 0 if ($self->joins)
67 0 0 if $joinstring
75 0 0 if $and
118 0 0 if (exists $self->fieldlist->{$field}) { }
119 0 0 if ($self->fieldlist->{$field}{'displayOnly'}) { }
0 0 elsif ($self->fieldlist->{$field}{'displayonly'}) { }
141 0 0 if (exists $self->fieldlist->{$field}) { }
153 0 0 if (exists $self->fieldlist->{$field}) { }
165 0 0 if (exists $self->fieldlist->{$field}) { }
166 0 0 if ($self->fieldlist->{$field}{'inputMask'}) { }
0 0 elsif ($self->fieldlist->{$field}{'inputmask'}) { }
192 0 0 if (%$vars)
194 0 0 if ($$vars{$_}{'value'})
195 0 0 ref $$vars{$_}{'value'} ? :
201 0 0 if ($defaults)
203 0 0 if ($$defaults{$field}{'value'}) { }
205 0 0 if ($$vars{$field}{'handle'})
211 0 0 if (defined $$result[1] or defined $$result[0][1])
218 0 0 if ($$vars{$field}{'handle'})
222 0 0 if ($$vars{$field}{'primarykey'})
231 0 0 if ($field)
232 0 0 unless ($self->displayOnly($field) or $self->readOnly($field))
238 0 0 if ($self->inputMask($field)) { }
0 0 elsif ($self->passwd($field)) { }
241 0 0 if ($self->q->authn)
248 0 0 if ($$vars{$field}{'handle'})
252 0 0 if ($field eq $self->primarykey)
259 0 0 if ($self->writefunc($field)) { }
276 0 0 if ($self->mysqlAuto)
282 0 0 if ($additional)
286 0 0 if (defined $$result[1] or defined $$result[0][1])
292 0 0 if ($$additional{$field}{'handle'})
318 0 0 wantarray ? :
326 0 0 $self->fieldlist->{$field}{'label'} ? :
361 0 0 if ($$_{'webcontrol'} and $$_{'webcontrol'}{'type'} eq 'checkbox')
374 0 0 if (exists $self->fieldlist->{$field}) { }
386 0 0 if ($value) { }
398 0 0 if (exists $self->fieldlist->{$field}) { }
399 0 0 if ($self->fieldlist->{$field}{'outputMask'}) { }
0 0 elsif ($self->fieldlist->{$field}{'outputmask'}) { }
414 0 0 if (exists $self->fieldlist->{$field}) { }
427 0 0 if ($self->multipleField($field))
432 0 0 wantarray ? :
442 0 0 if ($self->fieldlist->{$field}{'multi'})
443 0 0 $self->fieldlist->{$field}{'label'} ? :
447 0 0 wantarray ? :
464 0 0 if (exists $self->fieldlist->{$field}) { }
465 0 0 if ($self->fieldlist->{$field}{'passwd'}) { }
480 0 0 if ($value) { }
506 0 0 if (exists $self->fieldlist->{$field}) { }
518 0 0 if (exists $self->fieldlist->{$field}) { }
519 0 0 if ($self->fieldlist->{$field}{'readOnly'}) { }
0 0 elsif ($self->fieldlist->{$field}{'readonly'}) { }
536 0 0 if (@wherebinds)
551 0 0 if ($@) { }
562 0 0 if $self->passwd($fieldlist[$_])
581 0 0 if ($value) { }
603 0 0 if (%$vars)
605 0 0 if ($$vars{$_}{'value'})
606 0 0 ref $$vars{$_}{'value'} ? :
612 0 0 if ($defaults)
614 0 0 if ($$defaults{$field}{'value'}) { }
616 0 0 if ($$vars{$field}{'handle'})
622 0 0 if (defined $$result[1] or defined $$result[0][1])
629 0 0 if ($$vars{$field}{'handle'})
640 0 0 if ($field)
641 0 0 unless ($self->displayOnly($field) or $self->readOnly($field))
642 0 0 if ($$vars{$field}{'handle'})
647 0 0 if ($field eq $self->primarykey)
652 0 0 if ($self->inputMask($field)) { }
0 0 elsif ($self->passwd($field)) { }
655 0 0 if ($$data{$ID}{$field})
656 0 0 if ($self->q->authn)
664 0 0 if ($self->writefunc($field)) { }
0 0 elsif ($self->passwd($field)) { }
668 0 0 if ($self->q->authn)
669 0 0 if ($$data{$ID}{$field})
680 0 0 if (@{$self->checkboxes;})
682 0 0 if exists $$data{$ID}{$_}
684 0 0 if ($$vars{$_}{'handle'})
704 0 0 if ($additional)
708 0 0 if (defined $$result[1] or defined $$result[0][1])
714 0 0 if ($$additional{$field}{'handle'})
743 0 0 if (exists $self->fieldlist->{$field}) { }
759 0 0 if (exists $self->fieldlist->{$field})
760 0 0 if ($field =~ /\./)
762 0 0 if ($field =~ /^$table/) { }
780 0 0 unless ($self->fieldlist->{$field}{'hidden'})
781 0 0 $self->fieldlist->{$field}{'label'} ? :
785 0 0 wantarray ? :
795 0 0 unless ($self->fieldlist->{$field}{'hidden'})
800 0 0 wantarray ? :
808 0 0 if (exists $self->fieldlist->{$field}) { }
820 0 0 if (@values) { }
821 0 0 if (scalar @values > 1) { }
837 0 0 if (exists $self->fieldlist->{$field}) { }