Condition Coverage

blib/lib/XHTML/Instrumented/Form.pm
Criterion Covered Total %
condition 0 16 0.0


and 3 conditions

line !l l&&!r l&&r condition
252 0 0 0 defined $$data{'value'} and defined $self->element_value($id)
0 0 0 defined $$data{'value'} and defined $self->element_value($id) and $self->element_value($id) eq $$data{'value'}

or 2 conditions

line l !l condition
181 0 0 $p{'type'} ||= 'text'
247 0 0 shift() || die('no id.')

or 3 conditions

line l !l&&r !l&&!r condition
183 0 0 0 $p{'type'} eq 'multiselect' or $p{'type'} eq 'checkbox'
273 0 0 0 $$ret{'default'} ||= $self->element_value($name)