Branch Coverage

lib/HTML/Object/DOM/XPathResult.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
71 0 0 unless $self->SUPER::init(@_)
81 0 0 unless $self->_is_a($res, "HTML::Object::XPath::Boolean")
95 0 0 unless $self->_is_a($res, "HTML::Object::XPath::NodeSet")
99 0 0 if $self->{'_pos'} >= $res->size
110 0 0 unless $self->_is_a($res, "HTML::Object::XPath::Number")
128 0 0 unless $self->_is_a($res, "HTML::Object::DOM::Node")
139 0 0 if ($self->_is_a($res, 'HTML::Object::XPath::NodeSet')) { }
154 0 0 if ($self->_is_a($res, 'HTML::Object::XPath::NodeSet')) { }
160 0 0 ref $res ? :
169 0 0 unless $self->_is_a($res, "HTML::Object::XPath::Literal")