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