blib/lib/Data/Validator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 8 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
73 | 21 | 1 | 33 | defined $rule{'type'} and not defined $rule{'coerce'} |
line | l | !l | condition |
---|---|---|---|
92 | 0 | 7 | $$other_rule{'xor'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
87 | 7 | 0 | 1 | $byname{$other_name} || Carp::croak("Wrong definition for '${this}':" . " Unknown parameter name '${other_name}'" . ' specified as exclusive-or') |