blib/lib/Validation/Class/Directive/DependsOn.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 12 | 41.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 0 | 1 | 3 | defined $field->{'depends_on'} and defined $param |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 0 | 3 | 0 | $field->{'required'} or $param |
44 | 1 | 0 | 0 | $field->label || $field->name |
52 | 0 | 1 | 0 | join(', ', @r[0 .. $#r - 1]) || () |