line |
true |
false |
branch |
73
|
0 |
0 |
if (scalar @{$field->{'validators'};} > 0) { } |
81
|
0 |
0 |
if ($validator->validate($fieldValue)) { } |
102
|
0 |
0 |
if (scalar @{$field->{'validators'};} == $validValidators) |
141
|
0 |
0 |
if $args{'include_defaults'} |
167
|
4 |
0 |
if ($field->{'feedback'}) { } |
240
|
0 |
4 |
if ($self->getFieldType($fieldName) eq 'checkbox') { } |
272
|
0 |
0 |
if (my $field = $self->getField($fieldName)) { } |
305
|
0 |
0 |
if ($formRequestMethod eq $formMethodToCheck) { } |
363
|
2 |
24 |
if ($params->{'type'} eq 'checkbox') { } |
369
|
1 |
1 |
if ($user_given_field_value) |
381
|
18 |
6 |
if (defined $user_given_field_value) { } |
423
|
0 |
26 |
if (my $optionsGroup = $params->{'optionsGroup'}) |
443
|
3 |
23 |
if (my $hint = $params->{'hint'}) |
450
|
0 |
26 |
if (my $attribs = $params->{'container_attributes'}) |
457
|
0 |
26 |
if (my $attribs = $params->{'hint_container_attributes'}) |
521
|
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') { } |
596
|
0 |
4 |
if (defined $hint) { } |
600
|
0 |
0 |
if (defined $hint_attributes) |
606
|
0 |
0 |
if (exists $field->{'hint_container_attributes'}) |
628
|
0 |
8 |
if (exists $field->{'container_attributes'}) |
658
|
1 |
4 |
if ($self->_getFieldType($fieldName) eq 'hidden') |
707
|
1 |
4 |
if ($self->_getFieldType($fieldName) eq 'hidden') { } |
749
|
0 |
2 |
if ($args{'name'}) |
758
|
0 |
2 |
if ($args{'is_file_upload'}) |
806
|
2 |
0 |
unless ($args{'submit_label'}) |
810
|
2 |
0 |
unless ($args{'submit_name'}) |
865
|
2 |
6 |
if ($field->{'type'} eq 'checkbox') { } |
883
|
0 |
2 |
if (exists $args{'buttons'}) |
903
|
0 |
2 |
if ($type eq 'image') { } |
905
|
0 |
0 |
unless ($img_src) |
920
|
0 |
2 |
if ($args{'submit_class'}) |
928
|
2 |
0 |
if ($args{'submit_name'}) |
962
|
1 |
1 |
if ($self->getFieldValue($fieldName) or $field->{'defaultChecked'}) |
982
|
0 |
0 |
if ($group) { } |
992
|
0 |
0 |
if ($value eq $self->getFieldValue($fieldName)) |
1042
|
0 |
0 |
if ($group) { } |
1051
|
0 |
0 |
if ($value eq $self->getField($fieldName)->{'value'}) { } |