blib/lib/Params/Validate/Dependencies/all_or_none_of.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 12 | 91.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
57 | 6 | 27 | 27 | not ref $option and exists $$hashref{$option} |
27 | 2 | 4 | ref $option and &$option($hashref) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
57 | 27 | 0 | 33 | not ref $option and exists $$hashref{$option} or ref $option and &$option($hashref) |
62 | 3 | 4 | 15 | $count == 0 || $count == $#options + 1 |