line |
true |
false |
branch |
52
|
3 |
45 |
defined $self->form->id ? :
|
53
|
48 |
0 |
defined $self->nested_name ? :
|
57
|
15 |
107 |
if (exists $option->{'group'}) { }
|
73
|
6 |
131 |
if (not exists $option->{'attributes'}{'id'} and defined $self->auto_id)
|
84
|
0 |
6 |
if (defined(my $count = $self->repeatable_count))
|
92
|
6 |
131 |
if (exists $option->{'label'} and exists $option->{'attributes'}{'id'} and not exists $option->{'label_attributes'}{'for'})
|
105
|
2 |
61 |
ref $value eq 'ARRAY' ? :
|
|
0 |
23 |
ref $default eq 'ARRAY' ? :
|
|
15 |
122 |
if ($submitted and defined $value and ref $value eq 'ARRAY' ? &any(sub {
$_ eq $option->{'value'};
}
, @$value) : $value eq $option->{'value'}) { }
|
|
4 |
118 |
elsif ($submitted and $self->retain_default and !defined($value) || $value eq $HTML::FormFu::Element::Checkboxgroup::EMPTY_STR and $self->value eq $option->{'value'}) { }
|
|
52 |
66 |
elsif ($submitted) { }
|
|
8 |
58 |
elsif (defined $default and ref $default eq 'ARRAY' ? &any(sub {
$_ eq $option->{'value'};
}
, @$default) : $default eq $option->{'value'}) { }
|
161
|
15 |
107 |
if (defined $option->{'group'}) { }
|
166
|
8 |
7 |
if (defined $option->{'label'})
|
189
|
30 |
0 |
if ($render->{'reverse_group'}) { }
|
220
|
99 |
8 |
if ($render->{'reverse_group'}) { }
|