Branch Coverage

blib/lib/Validation/Class/Directive/Multiples.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
58 515 40 if (defined $field->{'multiples'} and defined $param)
80 6 2 if defined $_
81 511 4 unless grep {$name eq $_ if defined $_;} @{$proto->stash->{'directive.validation.clones'};}
86 4 0 if ($key and defined $index)
96 4 0 if ($proto->fields->has($key) and $proto->fields->has($name))
124 515 40 if (defined $field->{'multiples'} and defined $param)
142 3 512 if (isa_arrayref($param))
146 1 2 unless $field->{'multiples'}
165 4 0 if grep {$_ eq $name;} @{$proto->stash->{'validation.fields'};}
178 2 0 if @{$proto->stash->{'validation.fields'};}
196 340 662 unless defined $field->{'multiples'}