Branch Coverage

lib/HTML/Object/DOM.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
369 0 69 unless $self->SUPER::init(@_)
383 0 305 unless length $tag
387 296 9 if exists $HTML::Object::DOM::TAG_TO_CLASS->{$tag}
457 25 44 unless ref $HTML::Object::DOM::WINDOW
472 2 0 if (defined $html)
474 0 2 if (&Scalar::Util::blessed($html) and $html->isa('HTML::Object::DOM::Document')) { }
2 0 elsif (length $html) { }
488 0 120 unless (scalar @_)
493 120 0 if (&Scalar::Util::blessed($self)) { }
495 120 0 if ($self->isa('HTML::Object::DOM')) { }
501 0 0 unless $self->isa("HTML::Object::DOM::Window")