blib/lib/Data/Validate/WithYAML/Plugin/PasswordPolicy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 15 | 86.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 0 | 21 | 84 | $policy{'length'} and $policy{'length'} =~ /,/ |
29 | 0 | 60 | 24 | defined $min and length $value < $min |
33 | 22 | 50 | 12 | defined $max and length $value > $max |
45 | 36 | 15 | 6 | defined $policy{'chars'} and not ref $policy{'chars'} |
60 | 34 | 9 | 9 | defined $policy{'chars_blacklist'} and not ref $policy{'chars_blacklist'} |