Branch Coverage

blib/lib/Rose/HTML/Form/Field/Option/Container.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
59 16 487 grep({/\S/;} (shift())->internal_value) ? :
65 0 12 if @_
91 0 0 unless @_
103 2 103 if ($self->apply_error_class and defined $self->error) { }
106 0 2 $class ? :
127 2 41 if ($self->apply_error_class and defined $self->error) { }
130 0 2 $class ? :
163 1 13 if (@_ and @_ > 1 || ref $_[0] eq 'ARRAY' && @{$_[0];} > 1 and not $self->multiple)
170 0 84 if @$values > 1 and not $self->multiple
173 3 81 wantarray ? :
184 42 114 if (defined $item->internal_value)
188 42 0 if push @hidden, $item->hidden_field
193 28 0 wantarray ? :
200 6 34 if (@_)
202 3 3 shift @_ ? :
3 3 if ($self->{'_hidden'} = shift @_ ? 1 : 0)