blib/lib/Mojolicious/Validator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
18 | 1 | 0 | if $_[0]->filters->{$_[1]} = $_[2] |
35 | 7 | 0 | defined $_[2] ? : |
39 | 1 | 2 | unless defined(my $other = $v->input->{$to}) |
49 | 5 | 6 | length $_[2] ? : |
53 | 1 | 16 | unless $value =~ /^-?[0-9]+$/u |
59 | 2 | 9 | ref $value ? : |
63 | 14 | 2 | defined $_[2] ? : |