line |
true |
false |
branch |
94
|
0 |
51 |
unless $self->name |
111
|
50 |
78 |
if @_ |
118
|
0 |
0 |
$field->form ? : |
152
|
13 |
51 |
if ($form) { } |
156
|
0 |
13 |
if $form->parent_field |
186
|
8 |
168 |
unless ($field->any_input) |
187
|
5 |
3 |
if $field->required |
193
|
3 |
165 |
unless $field->test_multiple |
194
|
26 |
139 |
unless $field->test_options |
198
|
139 |
0 |
if (my $size = $field->max_size) |
202
|
0 |
139 |
if (length $value > $size) |
209
|
26 |
113 |
unless $field->validate |
210
|
4 |
109 |
unless $field->test_ranges |
216
|
109 |
0 |
unless $field->has_error |
234
|
0 |
91 |
if defined $field->value |
238
|
1 |
90 |
if ($format) { } |
250
|
61 |
52 |
if $field->can('options') or $field->has_error |
255
|
0 |
52 |
unless defined $input |
260
|
6 |
46 |
if (defined $low and defined $high) |
261
|
3 |
3 |
$input >= $low && $input <= $high ? : |
266
|
2 |
44 |
if (defined $low) |
267
|
1 |
1 |
$input >= $low ? : |
272
|
0 |
44 |
if (defined $high) |
273
|
0 |
0 |
$input <= $high ? : |
288
|
4 |
7 |
unless defined $value |
290
|
0 |
7 |
ref $value eq 'ARRAY' ? : |
293
|
0 |
7 |
if ref $_ |
298
|
0 |
7 |
@values > 1 ? : |
310
|
3 |
165 |
if (ref $value eq 'ARRAY' and not $self->can('multiple') && $self->multiple) |
328
|
8 |
168 |
if ref $value eq 'ARRAY' |
338
|
78 |
87 |
unless $self->can('options') |
345
|
0 |
87 |
unless defined $input |
347
|
5 |
82 |
ref $input eq 'ARRAY' ? : |
348
|
26 |
68 |
unless ($options{$value}) |
362
|
2 |
0 |
defined $value ? : |
390
|
0 |
0 |
unless defined $val |
395
|
0 |
0 |
ref $_ && $_->isa('DateTime') ? : |
|
0 |
0 |
ref $val eq 'ARRAY' ? : |
406
|
0 |
0 |
(shift())->required ? : |
412
|
269 |
62 |
unless $errors |
434
|
0 |
0 |
if ($f->can('options')) |