line |
true |
false |
branch |
13
|
2 |
14 |
eval {
do {
$selector_or_dom->isa('Mojo::DOM')
}
} ? : |
18
|
7 |
8 |
unless ($el->tag eq 'form') |
19
|
7 |
0 |
if (length $el->{'name'}) |
20
|
2 |
5 |
if (($el->{'type'} // '') eq 'image') { } |
33
|
14 |
5 |
unless ref $extra_params->{$_} eq 'CODE' |
45
|
1 |
81 |
unless defined $form{$_} |
48
|
0 |
15 |
if ($ENV{'MOJO_SUBMITFORM_DEBUG'}) |
56
|
12 |
3 |
defined $el->{'action'} && $el->{'action'} ne '' ? : |
67
|
16 |
109 |
if $_->matches('[type=radio]:not(:checked), [type=checkbox]:not(:checked)') |
70
|
5 |
104 |
unless defined(my $val = $_->val) |
71
|
10 |
94 |
ref $val ? : |
73
|
11 |
20 |
@vals ? : |
|
92 |
31 |
@vals == 1 ? : |
90
|
20 |
98 |
unless defined(my $vals = $self->_gather_vals($_)) |
91
|
10 |
88 |
ref $vals ? : |