blib/lib/HTML/FormHandler/Field/Date.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
52 | 2 | 3 | unless &blessed($value) and $value->isa('DateTime') |
63 | 1 | 13 | if $self->time_zone |
64 | 0 | 14 | if $self->locale |
68 | 5 | 9 | unless ($dt) |
74 | 1 | 8 | if ($self->date_start) |
76 | 0 | 1 | unless $date_start |
78 | 1 | 0 | if $cmp eq 1 |
80 | 3 | 6 | if ($self->date_end) |
82 | 0 | 3 | unless $date_end |
84 | 1 | 2 | if $cmp eq -1 |
92 | 11 | 6 | if $self->format =~ /\%/ |