Branch Coverage

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


line true false branch
58 517 43 if (defined $field->{'multiples'} and defined $param)
80 6 2 if defined $_
81 513 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 517 43 if (defined $field->{'multiples'} and defined $param)
142 3 514 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 366 643 unless defined $field->{'multiples'}