Condition Coverage

lib/HTML/Object/DOM.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
474 2 0 0 &Scalar::Util::blessed($html) and $html->isa("HTML::Object::DOM::Document")

or 2 conditions

line l !l condition
386 305 0 $self->SUPER::get_definition($tag, @_) || (return $self->pass_error)
396 198 0 'HTML::Object::DOM::Closing'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Closing'->error))
404 6 0 'HTML::Object::DOM::Comment'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Comment'->error))
412 18 0 'HTML::Object::DOM::Declaration'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Declaration'->error))
420 51 0 'HTML::Object::DOM::Document'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Document'->error))
430 30 0 'HTML::Object::DOM::Element'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Element'->error))
438 332 0 'HTML::Object::DOM::Space'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Space'->error))
446 107 0 'HTML::Object::DOM::Text'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Text'->error))
454 69 0 'HTML::Object::DOM::Window'->new(@_) || (return $self->pass_error('HTML::Object::DOM::Window'->error))