blib/lib/HTML/FormFu/Element/Date.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 23 | 73.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
141 | 27 | 10 | 10 | $self->auto_inflate and not @{$self->get_inflators({'type', 'DateTime'});} |
155 | 15 | 1 | 38 | defined($default = $self->default) and length $default |
165 | 0 | 19 | 0 | $is_blessed and not $default->isa('DateTime') |
408 | 0 | 0 | 60 | @order == 1 and ref $order[0] eq 'ARRAY' |
452 | 3 | 1 | 14 | &all(sub { defined $_; } , values %value) and &all(sub { length $_; } , values %value) |
line | l | !l | condition |
---|---|---|---|
370 | 2 | 17 | $interval ||= 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
157 | 32 | 0 | 6 | not $self->form->submitted or $self->render_processed_value |
165 | 19 | 0 | 19 | not $is_blessed or $is_blessed and not $default->isa('DateTime') |