Condition Coverage

lib/HTML/Object/DOM/CharacterData.pm
Criterion Covered Total %
condition 0 49 0.0


and 3 conditions

line !l l&&!r l&&r condition
84 0 0 0 ref $offset and overload::Method($offset, "\"\"")
85 0 0 0 ref $len and overload::Method($len, "\"\"")
111 0 0 0 defined $str and CORE::length "$str"
112 0 0 0 ref $offset and overload::Method($offset, "\"\"")
181 0 0 0 ref $offset and overload::Method($offset, "\"\"")
182 0 0 0 ref $len and overload::Method($len, "\"\"")
232 0 0 0 ref $offset and overload::Method($offset, "\"\"")
233 0 0 0 ref $len and overload::Method($len, "\"\"")
293 0 0 0 $self->isa("HTML::Object::DOM::Text") and $self->_is_a($parent, "HTML::Object::DOM::Document")

or 2 conditions

line l !l condition
32 0 0 $self->parent || (return)
56 0 0 $self->parent || (return)
135 0 0 $self->parent || (return)
148 0 0 $self->parent || (return)
161 0 0 $self->parent || (return)
180 0 0 $str //= ""
206 0 0 $self->parent || (return $self->error({'message', 'This CharacterData has no parent.', 'class', 'HTML::Object::HierarchyRequestError'}))
254 0 0 shift @_ || (return $self->error('No list of nodes was provided.'))

or 3 conditions

line l !l&&r !l&&!r condition
267 0 0 0 $self->_is_a($_, 'HTML::Object::DOM::DocumentFragment') || $self->_is_a($_, 'HTML::Object::DOM::Element') || $self->_is_a($_, 'HTML::Object::DOM::CharacterData')
283 0 0 0 $count > 1 or $node->isa("HTML::Object::DOM::Text")