line |
true |
false |
branch |
37
|
133 |
33 |
if ($self->form)
|
92
|
0 |
6 |
if (scalar @{$rargs->{'form_errors'};})
|
117
|
8 |
53 |
if ($layout_type eq 'checkbox') { }
|
|
1 |
52 |
elsif ($layout_type eq 'checkboxgroup') { }
|
|
1 |
51 |
elsif ($layout_type eq 'radiogroup') { }
|
|
7 |
44 |
elsif ($layout_type eq 'element') { }
|
|
1 |
43 |
elsif ($layout_type eq 'list') { }
|
|
1 |
42 |
elsif ($layout_type eq 'display') { }
|
147
|
9 |
63 |
if $wrapper eq 'none'
|
157
|
4 |
3 |
if ($rargs->{'is_instance'})
|
188
|
0 |
10 |
unless defined $class
|
189
|
2 |
8 |
if (exists $href->{$attr_key}{'class'} and ref $href->{$attr_key}{'class'} ne 'ARRAY')
|
193
|
0 |
10 |
if ($class and ref $class eq 'ARRAY') { }
|
210
|
41 |
91 |
if exists $skip{$attr}
|
211
|
0 |
91 |
if $attr eq 'rendering'
|
213
|
91 |
0 |
if (defined $attrs->{$attr})
|
214
|
21 |
70 |
if (ref $attrs->{$attr} eq 'ARRAY') { }
|
216
|
0 |
21 |
unless scalar @{$attrs->{$attr};}
|
238
|
4 |
0 |
if ($self->is_html5 and $rargs->{'html5_input_type'})
|
242
|
3 |
50 |
if $input_type eq 'checkbox'
|
252
|
6 |
44 |
if @{$rargs->{'errors'};}
|
270
|
1 |
4 |
if $rargs->{'multiple'}
|
271
|
0 |
5 |
if $size
|
272
|
0 |
5 |
if @{$rargs->{'errors'};}
|
277
|
3 |
2 |
if (exists $rargs->{'empty_select'})
|
285
|
3 |
11 |
if (my $label = $option->{'group'}) { }
|
311
|
10 |
10 |
if $multiple
|
317
|
0 |
20 |
if exists $option->{'attributes'}
|
319
|
3 |
17 |
if (defined $fif and $multiple && exists $fif_lookup{$value} || $fif eq $value)
|
338
|
0 |
3 |
if @{$rargs->{'errors'};}
|
356
|
6 |
52 |
if ($self->render_element_errors and $do_errors)
|
366
|
5 |
59 |
if $rargs->{'no_label'}
|
367
|
4 |
55 |
if $rargs->{'is_contains'}
|
368
|
4 |
51 |
if $rargs->{'wrapper'} and $rargs->{'wrapper'} eq 'fieldset'
|
403
|
0 |
64 |
unless defined $string
|
414
|
0 |
0 |
if ($rargs->{'layout_type'} eq 'standard') { }
|
|
0 |
0 |
elsif ($rargs->{'layout_type'} eq 'checkboxgroup') { }
|
|
0 |
0 |
elsif ($rargs->{'layout_type'} eq 'radiogroup') { }
|
434
|
0 |
1 |
unless my $rdgo_layout_meth = $self->can("rdgo_layout_$rdgo_layout")
|
454
|
0 |
2 |
unless $option->{'id'}
|
456
|
0 |
2 |
if exists $option->{'attributes'}
|
458
|
0 |
2 |
if ($rargs->{'fif'} eq $option->{'value'})
|
488
|
2 |
0 |
$option->{'id'} ? :
|
530
|
1 |
10 |
if $fif eq $checkbox_value
|
531
|
0 |
11 |
if @{$rargs->{'errors'};}
|
544
|
3 |
0 |
if $multiple
|
553
|
3 |
0 |
unless $option->{'id'}
|
554
|
0 |
3 |
if (defined $fif and $multiple && exists $fif_lookup{$value} || $fif eq $value)
|
558
|
0 |
3 |
if exists $option->{'attributes'}
|
606
|
0 |
3 |
$option->{'id'} ? :
|
663
|
0 |
42 |
unless $layout_meth
|
717
|
3 |
1 |
if $rargs->{'is_compound'}
|
720
|
3 |
1 |
if $id
|
748
|
3 |
0 |
defined $value ? :
|
762
|
0 |
1 |
unless $layout_meth
|