blib/lib/HTML/Widget/Element/Checkbox.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 19 | 89.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
73 | 13 | 4 | 1 | defined $value && $value eq $self->value |
76 | 5 | 13 | 0 | not defined $value and $self->retain_default || !$$args{'submitted'} |
2 | 5 | 6 | not defined $value and $self->retain_default || !$$args{'submitted'} and $self->checked |
line | l | !l | condition |
---|---|---|---|
66 | 8 | 8 | $$w{'_stash'} ||= {} |
67 | 8 | 8 | $$w{'_stash'}{'checkbox'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 8 | 8 | 0 | $self->attributes->{'id'} ||= $id |
76 | 4 | 7 | 2 | $self->retain_default || !$$args{'submitted'} |