Condition Coverage

blib/lib/HTML/FormWizard.pm
Criterion Covered Total %
condition 24 65 36.9


and 3 conditions

line !l l&&!r l&&r condition
190 0 0 1 scalar(@_ + 1) % 2 and $_[0] =~ /^\-/
304 0 0 0 $$data{lc $$field{'name'}} and not $ok
305 0 0 0 $$field{'needed'} and not $ok
356 6 0 0 $$field{'minlen'} and length $$data{lc $$field{'name'}} < $$field{'minlen'}
6 0 0 $$field{'maxlen'} and length $$data{lc $$field{'name'}} > $$field{'maxlen'}
361 6 0 0 defined $$field{'datatype'} and defined $validators{$$field{'datatype'}}
6 0 0 defined $$field{'datatype'} and defined $validators{$$field{'datatype'}} and $$data{lc $$field{'name'}}
489 1 1 6 $$self{'cgi'} and $$self{'cgi'}->param
490 0 4 2 $$self{'data'} = $self->getdata(@{$$self{'fields'};}) and validate($$self{'fields'}, $$self{'data'})
1028 2 4 0 $field and not $erro

or 2 conditions

line l !l condition
431 5 3 $$vals[0] || ''

or 3 conditions

line l !l&&r !l&&!r condition
279 0 0 8 $$field{'type'} eq 'radio' or $$field{'type'} eq 'list'
0 0 8 $$field{'type'} eq 'checkbox' or $$field{'type'} eq 'check'
0 0 8 $$field{'type'} eq 'checkbox' or $$field{'type'} eq 'check' or $$field{'type'} eq 'mlist'
353 0 0 0 $$data{lc $$field{'name'}} or not $$field{'needed'}
355 5 1 2 $$data{lc $$field{'name'}} or not $$field{'needed'}
356 0 0 6 $$field{'minlen'} and length $$data{lc $$field{'name'}} < $$field{'minlen'} or $$field{'maxlen'} and length $$data{lc $$field{'name'}} > $$field{'maxlen'}
448 0 0 6 $$field{'type'} eq 'radio' or $$field{'type'} eq 'list'
0 0 6 $$field{'type'} eq 'check' or $$field{'type'} eq 'checkbox'
0 0 6 $$field{'type'} eq 'check' or $$field{'type'} eq 'checkbox' or $$field{'type'} eq 'mlist'
616 0 0 0 $$field{'type'} eq 'passwd' or $$field{'type'} eq 'password'
0 0 0 $$field{'type'} eq 'check' or $$field{'type'} eq 'checkbox'