blib/lib/Valiemon/Attributes/Required.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 6 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
24 | 3 | 44 | 0 | $prop_def && do { my $definition = $prop_def->{'$ref'} ? $context->rv->resolve_ref($prop_def->{'$ref'}) : $prop_def; $definition->{'default'} } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
19 | 1 | 1 | 27 | ref $required ne 'ARRAY' or scalar @$required < 1 |