blib/lib/MojoX/Validate/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
74 | 3 | 5 | unless $value =~ /^([0-9.]+)(\s*-\s*[0-9.]+)?\s*(?:$args){1,1}$/ |
77 | 1 | 4 | if substr($two, 0, 1) eq '-' |
79 | 3 | 2 | if (length $two == 0) { } |
107 | 3 | 1 | $count == 1 ? : |
121 | 0 | 0 | length $value == 0 || !($value =~ /^[0-9]+$/) ? : |
165 | 5 | 1 | exists $params->{$topic} ? : |
192 | 0 | 0 | $params->{$topic} == $expected ? : |