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