Condition Coverage

lib/Data/Validation.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
115 0 1 5 $form and ref $form eq 'HASH'
120 0 30 0 $conf and $conf->{'filters'} || $conf->{'validate'}
138 1 1 115 $id and $conf = $self->fields->{$id}
2 115 0 $id and $conf = $self->fields->{$id} and $conf->{'filters'} || $conf->{'validate'}

or 2 conditions

line l !l condition
113 5 1 $prefix ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
120 0 0 30 $conf->{'filters'} || $conf->{'validate'}
138 13 0 102 $conf->{'filters'} || $conf->{'validate'}