Condition Coverage

blib/lib/HTML/FormFu/Element/Checkbox.pm
Criterion Covered Total %
condition 23 27 85.1


and 3 conditions

line !l l&&!r l&&r condition
49 69 33 2 defined $value and ref $value eq 'ARRAY'
53 39 30 35 $submitted and defined $value
69 0 35 $submitted and defined $value and defined $original
30 12 23 $submitted and defined $value and defined $original and $value eq $original
39 34 8 $submitted and $self->retain_default
73 8 0 $submitted and $self->retain_default and !defined($value) || $value eq $HTML::FormFu::Element::Checkbox::EMPTY_STR
27 0 12 defined $default and defined $original
27 1 11 defined $default and defined $original and $default eq $original

or 3 conditions

line l !l&&r !l&&!r condition
53 4 4 0 !defined($value) || $value eq $HTML::FormFu::Element::Checkbox::EMPTY_STR