blib/lib/Validator/Custom/Rule.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
40 | 6 | 35 | if (ref $constraint eq 'ARRAY') { } |
86 | 5 | 0 | if (@_) { } |
100 | 1 | 0 | if (defined $key) |
115 | 35 | 0 | if (defined $key) |
137 | 22 | 351 | if (ref $option eq 'HASH') { } |
147 | 371 | 2 | if (ref $constraints eq 'ARRAY') { } |
150 | 86 | 319 | if (ref $constraint eq 'ARRAY') { } |