Branch Coverage

lib/HTML/Object/DOM/Element/TableSection.pm
Criterion Covered Total %
branch 17 46 36.9


line true false branch
32 6 0 unless defined $self->{'tag'} and length "$self->{'tag'}"
34 0 6 unless $self->SUPER::init(@_)
41 13 2 unless ($def->{'caller'}[0] eq ref $self or $def->{'caller'}[0] eq "HTML::Object::DOM::Element::Table")
65 0 0 unless defined $pos and $self->_is_integer($pos)
71 0 0 if $pos > $size
75 0 0 if $pos < 0 and abs $pos > $size
79 0 0 if $pos < 0
83 0 0 unless defined $kid_pos
99 0 1 if (defined $pos)
101 0 0 unless $self->_is_integer($pos)
105 0 0 if $pos > $size
109 0 0 if $pos < 0 and abs $pos > $size
113 0 0 if $pos < 0
115 0 1 unless $self->_load_class("HTML::Object::DOM::Element::TableRow")
121 0 1 if (defined $pos) { }
124 0 0 if ($rows->is_empty) { }
132 0 0 unless (defined $kid_pos)
155 62 267 if (scalar @_)
167 40 102 if $self->{'_section_rows'} and not $self->_is_section_reset
169 6 96 unless ($self->{'_section_rows'})
171 0 6 unless $self->_load_class("HTML::Object::DOM::Collection")
193 78 24 if (my $parent = $self->parent)
195 78 0 if $parent->can("_reset_table")