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