Condition Coverage

blib/lib/CGI/Validate.pm
Criterion Covered Total %
condition 3 17 17.6


or 2 conditions

line l !l condition
175 22 0 $type ||= 's'

or 3 conditions

line l !l&&r !l&&!r condition
184 21 1 0 ref $fields{$field}{'reference'} eq 'SCALAR' or ref $fields{$field}{'reference'} eq 'ARRAY'
216 0 0 0 scalar @{$form{$field};} or $fields{$field}{'optional'}
257 0 0 0 %CGI::Validate::Missing or %CGI::Validate::Invalid
0 0 0 %CGI::Validate::Missing or %CGI::Validate::Invalid or %CGI::Validate::Blank
0 0 0 %CGI::Validate::Missing or %CGI::Validate::Invalid or %CGI::Validate::Blank or %CGI::Validate::InvalidType