blib/lib/Data/FormValidator/Profile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 24 | 95.8 |
line | true | false | branch |
---|---|---|---|
31 | 1 | 21 | ref $_[0] eq 'HASH' ? : |
135 | 1 | 1 | unless $optional |
166 | 1 | 1 | unless $required |
253 | 1 | 18 | if (grep {$_ eq $field;} _arrayify($profile->{$type})) |
259 | 2 | 7 | $args{'required'} ? : |
266 | 1 | 8 | if ($args{'default'}) |
271 | 1 | 8 | if ($args{'dependencies'}) |
276 | 2 | 7 | if ($args{'filters'}) |
281 | 3 | 6 | if ($args{'constraints'}) |
286 | 2 | 7 | if ($args{'msgs'}) |
311 | 8 | 0 | if (exists $profile->{$type}) |
320 | 2 | 14 | if (exists $profile->{$type}) |