Branch Coverage

blib/lib/Rose/HTML/Form/Field/DateTime.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
36 4 0 if $parser->can("time_zone")
44 170 163 unless ref $date or defined $date and length $date
59 9 23 unless $date
68 9 24 unless ($self->input_value =~ /\S/)
71 0 9 unless $ok
76 17 16 if (UNIVERSAL::isa($date, "DateTime"))
78 0 17 if $self->validator
82 1 15 if ($self->has_partial_value)
90 8 7 unless length $input
94 7 0 unless (defined $date)