blib/lib/Validation/Class/Directive/DependsOn.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
26 | 3 | 1 | if (defined $field->{'depends_on'} and defined $param) |
30 | 3 | 0 | if ($field->{'required'} or $param) |
32 | 1 | 2 | isa_arrayref($specification) ? : |
36 | 3 | 0 | if (@{$dependents;}) |
44 | 1 | 2 | unless $proto->params->has($dependent) |
50 | 1 | 2 | if (my(@r) = @required_fields) |