Condition Coverage

blib/lib/FormValidator/LazyWay.pm
Criterion Covered Total %
condition 30 50 60.0


and 3 conditions

line !l l&&!r l&&r condition
207 0 0 1 ref $field eq 'HASH' and $$field{'format'}
0 0 1 ref $field eq 'HASH' and $$field{'format'} and $$field{'fields'}
240 49 2 1 $$profile{'use_fixed_method'} and $$profile{'use_fixed_method'}{$field}
365 8 0 0 ref $$storage{'valid'}{$field} eq 'ARRAY' and scalar @{$$storage{'valid'}{$field};} == 1

or 2 conditions

line l !l condition
224 0 65 $$profile{'level'}{$field} || 'strict'
237 0 52 $$profile{'level'}{$field} || 'strict'
262 0 77 $$profile{'level'}{$field} || 'strict'
502 1 41 $$profile{'defaults'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
46 0 0 41 $self->unicode or $$self{'config'}{'unicode'}
133 9 9 22 $$storage{'has_missing'} || $$storage{'has_invalid'}
134 9 9 22 $$storage{'has_missing'} || $$storage{'has_invalid'}
150 8 6 0 $self->message->labels->{$lang}{$field} || $field
161 6 5 0 $self->message->labels->{$lang}{$field} || $field
188 5 11 0 $regex || $field
456 0 40 0 $$profile{'lang'} || $self->message->lang
483 4 65 9 exists $$profile{'optional'}{$_} || exists $$profile{'required'}{$_}
510 1 1 0 $$storage{'valid'}{$field} ||= $self->rule->defaults->{$field}
531 0 0 0 $$self{'messages'}{'config'}{'messages'}{$form->lang}{'custom_invalid'}{$key} || $key