blib/lib/HTML/FormHandler/Field/Date.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 26 | 76.9 |
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 (my $date_start = $self->date_start) |
75 | 0 | 1 | if ref $date_start eq 'CODE' |
77 | 0 | 1 | unless $date_start |
79 | 1 | 0 | if $cmp eq 1 |
81 | 3 | 6 | if (my $date_end = $self->date_end) |
82 | 3 | 0 | if ref $date_end eq 'CODE' |
84 | 0 | 3 | unless $date_end |
86 | 1 | 2 | if $cmp eq -1 |
94 | 11 | 6 | if $self->format =~ /\%/ |