blib/lib/Validation/Class/Directive/Alias.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 8 | 87.5 |
line | true | false | branch |
---|---|---|---|
51 | 20 | 986 | if (defined $field->{'alias'}) |
56 | 20 | 0 | isa_arrayref($field->{'alias'}) ? : |
61 | 6 | 14 | if ($proto->params->has($alias)) |
67 | 5 | 1 | unless grep {$name eq $_;} @{$proto->stash->{'validation.fields'};} |