Condition Coverage

lib/HTML/Object/DOM/Element/Shared.pm
Criterion Covered Total %
condition 2 10 20.0


and 3 conditions

line !l l&&!r l&&r condition
160 1 0 0 defined $id and length "$id"
220 0 0 0 defined $id and length $id

or 2 conditions

line l !l condition
221 0 0 $self->root || (return $results)
318 1 0 'HTML::Object::TokenList'->new($rel, 'element', $self, 'attribute', 'rel', 'debug', $self->debug) || (return $self->pass_error('HTML::Object::TokenList'->error))