Branch Coverage

blib/lib/HTML/Widget/Plugin/Select.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
102 5 10 unless $$arg{'attr'}{'name'}
107 1 14 if (ref $$arg{'options'} eq 'HASH') { }
111 55 1 unless not defined $_
112 2 12 if grep {ref $_ and not defined $$_[0] unless not defined $_;} @options
115 11 2 unless $$arg{'ignore_invalid'}
118 15 29 ref $entry ? :
142 4 28 if defined $$arg{'value'} and $$arg{'value'} eq $value
158 11 21 ref $_ ? :
160 4 3 if ($value)
163 1 3 if (not $matches) { }
1 2 elsif ($matches > 1) { }
177 2 13 if ($$self{'default_classes'})
179 1 1 defined $$arg{'attr'}{'class'} ? :