Condition Coverage

blib/lib/Test/FormValidator.pm
Criterion Covered Total %
condition 35 40 87.5


and 3 conditions

line !l l&&!r l&&r condition
334 35 4 14 defined $prefix and $prefix ne ''
395 0 3 0 exists $$self{'__DFV_RESULTS'} and defined $$self{'__DFV_RESULTS'}
430 1 4 0 $input and ref $input
462 1 4 0 $input and ref $input
555 8 8 1 ref $expected ne 'ARRAY' and ref $expected ne 'HASH'
741 6 1 9 $options and ref $options eq 'HASH'

or 2 conditions

line l !l condition
760 10 4 $$profile{'required'} || []
761 10 4 $$profile{'optional'} || []

or 3 conditions

line l !l&&r !l&&!r condition
372 5 27 2 $profile ||= $self->profile
495 1 1 10 not $fields or ref $fields ne 'ARRAY'
555 1 0 17 not $expected or ref $expected ne 'ARRAY' and ref $expected ne 'HASH'
627 1 1 10 not $fields or ref $fields ne 'ARRAY'
794 77 11 462 $token->is_start_tag('input') or $token->is_start_tag('textarea')
88 11 451 $token->is_start_tag('input') or $token->is_start_tag('textarea') or $token->is_start_tag('select')