| blib/lib/HTML/FormFu/Constraint/Length.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 10 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 0 | 15 | if not defined $value or $value eq '' |
| 30 | 9 | 6 | if (defined(my $min = $self->minimum)) |
| 31 | 3 | 6 | if length $value < $min |
| 34 | 9 | 3 | if (defined(my $max = $self->maximum)) |
| 35 | 4 | 5 | if length $value > $max |