blib/lib/Validator/Declarative/Rules/Converters.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 4 | 100.0 |
line | true | false | branch |
---|---|---|---|
20 | 9 | 14 | defined $input && $input =~ /^\s*(0|no|n|false|f|off)\s*$/i ? : |
25 | 9 | 14 | defined $input && $input =~ /^\s*(1|yes|y|true|t|on)\s*$/i ? : |