blib/lib/HTML/FormFu/Constraint/Range.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 12 | if not defined $value or $value eq '' |
32 | 0 | 12 | unless &looks_like_number($value) |
34 | 8 | 4 | if (defined(my $min = $self->minimum)) |
35 | 2 | 6 | if $value < $min |
38 | 7 | 3 | if (defined(my $max = $self->maximum)) |
39 | 2 | 5 | if $value > $max |