| line |
true |
false |
branch |
|
71
|
0 |
0 |
if (scalar @{$field->{'validators'};} > 0) { } |
|
79
|
0 |
0 |
if ($validator->validate($fieldValue)) { } |
|
100
|
0 |
0 |
if (scalar @{$field->{'validators'};} == $validValidators) |
|
139
|
0 |
0 |
if $args{'include_defaults'} |
|
165
|
4 |
0 |
if ($field->{'feedback'}) { } |
|
238
|
0 |
4 |
if ($self->getFieldType($fieldName) eq 'checkbox') { } |
|
270
|
0 |
0 |
if (my $field = $self->getField($fieldName)) { } |
|
303
|
0 |
0 |
if ($formRequestMethod eq $formMethodToCheck) { } |
|
361
|
2 |
24 |
if ($params->{'type'} eq 'checkbox') { } |
|
367
|
1 |
1 |
if ($user_given_field_value) |
|
379
|
18 |
6 |
if (defined $user_given_field_value) { } |
|
421
|
0 |
26 |
if (my $optionsGroup = $params->{'optionsGroup'}) |
|
441
|
3 |
23 |
if (my $hint = $params->{'hint'}) |
|
448
|
0 |
26 |
if (my $attribs = $params->{'container_attributes'}) |
|
455
|
0 |
26 |
if (my $attribs = $params->{'hint_container_attributes'}) |
|
519
|
2 |
2 |
if ($type =~ /text$|password|hidden|file/u) { } |
|
|
0 |
2 |
elsif ($type eq 'checkbox') { } |
|
|
0 |
2 |
elsif ($type eq 'radio') { } |
|
|
0 |
2 |
elsif ($type eq 'select') { } |
|
|
2 |
0 |
elsif ($type eq 'textarea') { } |
|
594
|
0 |
4 |
if (defined $hint) { } |
|
598
|
0 |
0 |
if (defined $hint_attributes) |
|
604
|
0 |
0 |
if (exists $field->{'hint_container_attributes'}) |
|
626
|
0 |
8 |
if (exists $field->{'container_attributes'}) |
|
656
|
1 |
4 |
if ($self->_getFieldType($fieldName) eq 'hidden') |
|
705
|
1 |
4 |
if ($self->_getFieldType($fieldName) eq 'hidden') { } |
|
747
|
0 |
2 |
if ($args{'name'}) |
|
756
|
0 |
2 |
if ($args{'is_file_upload'}) |
|
804
|
2 |
0 |
unless ($args{'submit_label'}) |
|
808
|
2 |
0 |
unless ($args{'submit_name'}) |
|
863
|
2 |
6 |
if ($field->{'type'} eq 'checkbox') { } |
|
881
|
0 |
2 |
if (exists $args{'buttons'}) |
|
901
|
0 |
2 |
if ($type eq 'image') { } |
|
903
|
0 |
0 |
unless ($img_src) |
|
918
|
0 |
2 |
if ($args{'submit_class'}) |
|
926
|
2 |
0 |
if ($args{'submit_name'}) |
|
960
|
1 |
1 |
if ($self->getFieldValue($fieldName) or $field->{'defaultChecked'}) |
|
980
|
0 |
0 |
if ($group) { } |
|
990
|
0 |
0 |
if ($value eq $self->getFieldValue($fieldName)) |
|
1040
|
0 |
0 |
if ($group) { } |
|
1049
|
0 |
0 |
if ($value eq $self->getField($fieldName)->{'value'}) { } |