blib/lib/HTML/Widget/Plugin/Multiselect.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
62 | 2 | 2 | unless defined $arg->{'attr'}{'name'} |
65 | 1 | 3 | if ($arg->{'values'}) |
84 | 0 | 0 | if $opt_arg and $opt_arg->{'disabled'} |
86 | 4 | 8 | if $arg->{'value'} and grep {$_ eq $value;} @{$$arg{'value'};} |
101 | 1 | 3 | unless ref $values |
102 | 1 | 3 | unless grep {defined $_;} @$values |
105 | 8 | 16 | ref $_ ? : |
106 | 1 | 5 | unless $matches |