blib/lib/HTML/FormFu/Constraint/Range.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 12 | 100.0 |
line | true | false | branch |
---|---|---|---|
29 | 6 | 15 | if not defined $value or $value eq '' |
31 | 1 | 14 | unless &looks_like_number($value) |
33 | 10 | 4 | if (defined(my $min = $self->minimum)) |
34 | 3 | 7 | if $value < $min |
37 | 7 | 4 | if (defined(my $max = $self->maximum)) |
38 | 2 | 5 | if $value > $max |