Condition Coverage

lib/HTML/Object/DOM/Text.pm
Criterion Covered Total %
condition 4 20 20.0


and 3 conditions

line !l l&&!r l&&r condition
97 1 0 0 ref $content and not overload::Method($content, "\"\"")
161 0 0 0 $offset < 0 and abs $offset > $size

or 2 conditions

line l !l condition
68 0 0 shift @_ || (return $self->error('No html element was provided to insert.'))

or 3 conditions

line l !l&&r !l&&!r condition
118 1 0 0 $self->_is_a($_, "HTML::Object::DOM::Text") or $self->_is_a($_, "HTML::Object::DOM::Space")
128 1 0 0 $self->_is_a($_, "HTML::Object::DOM::Text") or $self->_is_a($_, "HTML::Object::DOM::Space")
200 0 0 0 $self->_is_a($_, "HTML::Object::DOM::Text") or $self->_is_a($_, "HTML::Object::DOM::Space")
209 1 0 0 $self->_is_a($_, "HTML::Object::DOM::Text") or $self->_is_a($_, "HTML::Object::DOM::Space")