Branch Coverage

blib/lib/HTML/Widget/Element/Select.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
102 3 18 if ($self->constrain_values)
105 3 0 if ref $self->options
109 3 0 if @uniq
127 1 9 if (not $self->multiple and ref $$params{$name} eq 'ARRAY')
146 16 2 ref $options eq 'ARRAY' ? :
149 7 11 if (defined $value) { }
10 1 elsif ($self->retain_default or not $$args{'submitted'}) { }
150 2 5 ref $value eq 'ARRAY' ? :
155 0 10 ref $self->selected eq 'ARRAY' ? :
170 14 19 if (defined $val and $val eq $key)
195 2 16 if $self->multiple