| blib/lib/HTML/FormFu/Inflator/DateTime.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 1 | 25 | if (exists $arg->{'regex'} and not ref $arg->{'regex'}) |
| 39 | 2 | 25 | if not defined $value or $value eq $HTML::FormFu::Inflator::DateTime::EMPTY_STR |
| 43 | 1 | 21 | if (defined $self->time_zone) |
| 47 | 11 | 11 | if (defined $self->strptime) |
| 51 | 2 | 9 | if ((&reftype($strptime) || '') eq 'HASH') { } |
| 60 | 1 | 10 | if (defined $self->time_zone) |
| 64 | 0 | 11 | if (not exists $args{'locale'} and defined(my $locale = $self->locale)) |