Condition Coverage

blib/lib/HTML/Widget/Element/Radio.pm
Criterion Covered Total %
condition 16 19 84.2


and 3 conditions

line !l l&&!r l&&r condition
73 0 7 3 defined $value && $value eq $self->value
80 10 14 0 not defined $value and $self->retain_default || !$$args{'submitted'}
2 7 5 not defined $value and $self->retain_default || !$$args{'submitted'} and $self->checked

or 2 conditions

line l !l condition
66 18 3 $$w{'_stash'} ||= {}
67 12 9 $$w{'_stash'}{'radio'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
70 9 12 0 $self->attributes->{'id'} ||= $id
80 4 8 2 $self->retain_default || !$$args{'submitted'}