Condition Coverage

lib/HTML/Object/DOM/Element/TableSection.pm
Criterion Covered Total %
condition 9 26 34.6


and 3 conditions

line !l l&&!r l&&r condition
32 6 0 0 defined $self->{'tag'} and length "$self->{'tag'}"
65 0 0 0 defined $pos and $self->_is_integer($pos)
75 0 0 0 $pos < 0 and abs $pos > $size
109 0 0 0 $pos < 0 and abs $pos > $size
167 6 103 40 $self->{'_section_rows'} and not $self->_is_section_reset

or 2 conditions

line l !l condition
65 0 0 $pos // ""
101 0 0 $pos // ""
117 1 0 'HTML::Object::DOM::Element::TableRow'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Element::TableRow'->error))
172 6 0 'HTML::Object::DOM::Collection'->new || (return $self->pass_error('HTML::Object::DOM::Collection'->error))

or 3 conditions

line l !l&&r !l&&!r condition
41 1 1 13 $def->{'caller'}[0] eq ref $self or $def->{'caller'}[0] eq "HTML::Object::DOM::Element::Table"