Condition Coverage

blib/lib/Validation/Class/Directive/Matches.pm
Criterion Covered Total %
condition 9 16 56.2


and 3 conditions

line !l l&&!r l&&r condition
26 0 0 5 defined $field->{'matches'} and defined $param

or 2 conditions

line l !l condition
42 5 0 $param ||= ""
45 3 2 $proto->params->get($dependent) || ''

or 3 conditions

line l !l&&r !l&&!r condition
30 1 4 0 $field->{'required'} or $param
47 2 2 0 $field->label || $field->name
55 0 4 0 join(', ', @r[0 .. $#r - 1]) || ()