Branch Coverage

blib/lib/HTML/Widget/Element/Checkbox.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
49 0 18 ref $value eq 'ARRAY' ? :
58 18 16 if $element eq $self
59 16 0 if ($element->isa('HTML::Widget::Element::Checkbox'))
65 16 2 if ($multi)
73 1 17 defined $value && $value eq $self->value ? :
76 6 7 if (not defined $value and $self->retain_default || !$$args{'submitted'} and $self->checked)