Branch Coverage

blib/lib/HTML/FormFu/Inflator/DateTime.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
28 1 25 if (exists $arg->{'regex'} and not ref $arg->{'regex'})
40 2 25 if not defined $value or $value eq $HTML::FormFu::Inflator::DateTime::EMPTY_STR
44 1 21 if (defined $self->time_zone)
48 11 11 if (defined $self->strptime)
52 2 9 if ((&reftype($strptime) || '') eq 'HASH') { }
61 1 10 if (defined $self->time_zone)
65 0 11 if (not exists $args{'locale'} and defined(my $locale = $self->locale))