blib/lib/Data/FormValidator/Profile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 24 | 95.8 |
line | true | false | branch |
---|---|---|---|
30 | 1 | 21 | ref $_[0] eq 'HASH' ? : |
132 | 1 | 1 | unless $optional |
163 | 1 | 1 | unless $required |
252 | 1 | 18 | if (grep {$_ eq $field;} _arrayify($$profile{$type})) |
258 | 2 | 7 | $args{'required'} ? : |
265 | 1 | 8 | if ($args{'default'}) |
270 | 1 | 8 | if ($args{'dependencies'}) |
275 | 2 | 7 | if ($args{'filters'}) |
280 | 3 | 6 | if ($args{'constraints'}) |
285 | 2 | 7 | if ($args{'msgs'}) |
310 | 8 | 0 | if (exists $$profile{$type}) |
319 | 2 | 14 | if (exists $$profile{$type}) |