Branch Coverage

blib/lib/CGI/Test/Form/Widget/Menu.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
59 0 272 if $opt->tag eq 'optgroup'
60 0 272 unless ($opt->tag eq 'option')
77 0 272 unless (defined $value)
90 0 272 if $seen{$value}++
97 34 238 if ($is_selected)
110 0 0 if ($count == 0 and $this->is_popup and @$values)
267 0 38 unless ($this->known_values->{$value})
288 0 28 unless ($this->known_values->{$value})
295 0 28 if !$is_selected == !$state
301 16 12 unless exists $$this{'old_selected'}
309 6 22 unless $this->multiple
311 22 6 if $state
312 6 22 unless $state
330 0 0 unless exists $$this{'old_selected'}