line |
true |
false |
branch |
54
|
2 |
6 |
if ($element_id eq 'csrftoken') { }
|
72
|
0 |
2 |
if (defined $print_fieldset_index) { }
|
90
|
1 |
1 |
if ($onsubmit_js_error)
|
109
|
2 |
8 |
if ($self->csrftoken)
|
110
|
1 |
1 |
unless $self->validate_csrf
|
118
|
32 |
9 |
if ($data->{'input'} and $data->{'error'}{'id'})
|
120
|
0 |
40 |
if (eval {
do {
$input_element->{'input'}->can('value')
}
} and not defined $self->get_field_value($input_element->{'id'}))
|
130
|
32 |
0 |
if (defined $data->{'validation'} and $data->{'input'} and $data->{'error'}{'id'})
|
142
|
0 |
9 |
if ($self->custom_server_side_check_of)
|
146
|
7 |
2 |
$self->get_has_error ? :
|
152
|
1 |
1 |
if (($self->{'__input_csrftoken'} // '') eq $self->csrftoken)
|
202
|
10 |
0 |
if ($error_message)
|
234
|
4 |
3 |
if (defined $data->{'validation'} and $data->{'input'} and $data->{'error'}{'id'}) { }
|
|
1 |
4 |
elsif (defined $data->{'error'} and defined $data->{'error'}{'id'}) { }
|
247
|
5 |
0 |
if (defined $input_field->{'id'})
|
263
|
0 |
10 |
unless $validation->{'type'} =~ /(?:regexp|min_amount|max_amount|checkbox_checked|custom)/
|
302
|
3 |
7 |
if ($validation->{'id'} and length $validation->{'id'} > 0)
|
306
|
0 |
10 |
$validation->{'error_if_true'} ? :
|
308
|
5 |
5 |
if ($validation->{'type'} eq 'regexp') { }
|
|
3 |
2 |
elsif ($validation->{'type'} =~ /^(min|max)_amount$/) { }
|
|
1 |
1 |
elsif ($validation->{'type'} eq 'checkbox_checked') { }
|
|
1 |
0 |
elsif ($validation->{'type'} eq 'custom') { }
|
312
|
1 |
4 |
$validation->{'case_insensitive'} ? :
|
321
|
2 |
1 |
$1 eq 'min' ? :
|
379
|
61 |
4 |
if ($validation->{'type'} and $validation->{'type'} =~ /(?:regexp|min_amount|max_amount|checkbox_checked)/)
|
393
|
37 |
24 |
if ($validation->{'type'} eq 'regexp') { }
|
|
3 |
21 |
elsif ($validation->{'type'} eq 'min_amount' and $field_value < $validation->{'amount'} or $validation->{'type'} eq 'max_amount' and $field_value > $validation->{'amount'}) { }
|
|
1 |
33 |
elsif ($validation->{'type'} eq 'checkbox_checked' and not $field_value) { }
|
395
|
8 |
29 |
$validation->{'case_insensitive'} ? :
|
398
|
6 |
31 |
if ($validation->{'error_if_true'} and $field_value =~ /$regexp/ or not $validation->{'error_if_true'} || $field_value =~ /$regexp/)
|
426
|
0 |
10 |
unless $text
|