lib/HTML/Object/DOM/Element/Select.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 37 | 40.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
67 | 1 | 0 | 0 | defined $pos and CORE::length $pos |
117 | 1 | 0 | 0 | defined $pos and CORE::length $pos |
168 | 1 | 19 | 15 | $self->{'_select_options'} and not $self->_is_select_reset |
186 | 0 | 0 | 1 | defined $pos and CORE::length "$pos" |
0 | 0 | 1 | defined $pos and CORE::length "$pos" and $self->_is_integer($pos) | |
253 | 2 | 0 | 0 | $self->{'selectedindex'} and not $self->_is_select_reset |
272 | 2 | 0 | 2 | $self->{'_selected_options'} and not $self->_is_select_reset |
line | l | !l | condition |
---|---|---|---|
174 | 1 | 0 | 'HTML::Object::DOM::Element::OptionsCollection'->new || (return $self->pass_error('HTML::Object::DOM::Element::OptionsCollection'->error)) |
283 | 2 | 0 | 'HTML::Object::DOM::Collection'->new || (return $self->pass_error('HTML::Object::DOM::Collection'->error)) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
41 | 2 | 0 | 7 | $def->{'caller'}[0] eq ref $self or $def->{'caller'}[0] eq "HTML::Object::DOM::Element::Select" |
61 | 1 | 0 | 0 | $self->_is_a($elem, "HTML::Object::DOM::Element::Option") or $self->_is_a($elem, "HTML::Object::DOM::Element::OptGroup") |
69 | 0 | 0 | 0 | $self->_is_a($elem, 'HTML::Object::DOM::Element::Option') || $self->_is_a($elem, 'HTML::Object::DOM::Element::OptGroup') || $self->_is_integer($pos) |
0 | 0 | 0 | $self->_is_a($elem, "HTML::Object::DOM::Element::Option") or $self->_is_a($elem, "HTML::Object::DOM::Element::OptGroup") |