blib/lib/Validation/Class/Directive/Required.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 8 | 75.0 |
line | true | false | branch |
---|---|---|---|
28 | 555 | 0 | if (defined $field->{'required'}) |
30 | 35 | 185 | if ($field->{'required'} and !defined($param) || $param eq '') |
33 | 35 | 0 | unless $proto->ignore_intervention |
50 | 109 | 893 | unless defined $field->{'required'} |