line |
true |
false |
branch |
15
|
8 |
0 |
@links ? : |
25
|
0 |
21 |
unless $select |
27
|
21 |
0 |
if (my $id = $select->attr('id')) { } |
|
0 |
0 |
elsif (my $name = $select->attr('name')) { } |
37
|
4 |
84 |
if $self->tag_name eq 'textarea' |
38
|
11 |
57 |
if $self->tag_name eq 'input' and $self->type =~ /^(?:text|password|file|hidden)$/i || !$self->type |
44
|
114 |
24 |
if $self->tag_name eq 'input' and $self->type =~ /^(?:submit|image)$/i |
45
|
16 |
0 |
if $self->tag_name eq 'button' and !$self->type || $self->type eq 'submit' |
102
|
27 |
0 |
if (my $id = $self->id) { } |
|
0 |
0 |
elsif (my $name = $self->name) { } |
118
|
0 |
12 |
if lc($_[0]->attr('style') or '') =~ /display\s*:\s*none/ |
119
|
2 |
10 |
if lc $_[0]->tag eq 'script' or lc $_[0]->tag eq 'head' |
120
|
1 |
9 |
if lc $_[0]->tag eq 'input' and lc($_[0]->attr('type') || '') eq 'hidden' |
137
|
15 |
0 |
if ($self->_is_text_field) { } |
|
0 |
0 |
elsif ($self->_is_checkbox or $self->_is_radio or $self->_is_option) { } |
151
|
6 |
27 |
if ($self->_is_checkbox) { } |
|
9 |
18 |
elsif ($self->_is_radio) { } |
|
18 |
0 |
elsif ($self->_is_option) { } |
162
|
18 |
0 |
if ($selector) |
175
|
6 |
3 |
if ($self->_is_checkbox) { } |
|
3 |
0 |
elsif ($self->_is_option and $self->_is_in_multiple_select) { } |
181
|
3 |
0 |
if ($selector) |
194
|
65 |
8 |
if ($self->_is_form_control) { } |
|
8 |
0 |
elsif (my $link = $self->_find_outer_link) { } |
195
|
65 |
0 |
if ($self->_is_button) { } |
|
0 |
0 |
elsif ($self->_is_checkbox or $self->_is_option) { } |
|
0 |
0 |
elsif ($self->_is_radio) { } |
196
|
51 |
14 |
$self->name ? : |
200
|
0 |
0 |
$self->is_checked ? : |