blib/lib/Form/Processor/Field.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 33 | 60.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
260 | 44 | 2 | 6 | defined $low and defined $high |
261 | 1 | 2 | 3 | $input >= $low && $input <= $high |
310 | 1 | 2 | 5 | $self->can('multiple') && $self->multiple |
160 | 5 | 3 | ref $value eq 'ARRAY' and not $self->can('multiple') && $self->multiple | |
331 | 6 | 2 | 160 | defined $value && $value =~ /\S/ |
395 | 0 | 0 | 0 | ref $_ && $_->isa('DateTime') |
line | l | !l | condition |
---|---|---|---|
103 | 9 | 0 | $field->form || (return $name) |
104 | 0 | 9 | $form->parent_field || (return $name) |
132 | 0 | 0 | $form->field_counter || 1 |
159 | 51 | 0 | $Form::Processor::LANGUAGE_HANDLE || $ENV{'LANGUAGE_HANDLE'} || 'Form::Processor::I18N'->get_handle || die('Failed call to Text::Maketext->get_handle') |
425 | 0 | 0 | $f->required || '0' |
426 | 0 | 0 | $f->password || '0' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
250 | 61 | 0 | 52 | $field->can('options') or $field->has_error |