Branch Coverage

blib/lib/HTML/Widget/Plugin/Select.pm
Criterion Covered Total %
branch 27 28 96.4


line true false branch
103 5 10 unless $arg->{'attr'}{'name'}
108 1 14 if (ref $arg->{'options'} eq 'HASH') { }
113 55 1 unless not defined $_
2 12 if grep {ref $_ and not defined $_->[0] unless not defined $_;} @options
116 11 2 unless $arg->{'ignore_invalid'}
119 15 29 ref $entry ? :
143 1 0 if $opt_arg and $opt_arg->{'disabled'}
145 4 28 if defined $arg->{'value'} and $arg->{'value'} eq $value
160 11 21 ref $_ ? :
162 4 3 if ($value)
165 1 3 if (not $matches) { }
1 2 elsif ($matches > 1) { }
179 2 13 if ($self->{'default_classes'})
182 1 1 defined $arg->{'attr'}{'class'} ? :