Branch Coverage

lib/HTML/Object/Document.pm
Criterion Covered Total %
branch 1 18 5.5


line true false branch
40 0 54 unless $self->SUPER::init(@_)
48 0 0 unless defined $this and length $this
49 0 0 if (not ref $this or overload::Method($this, "\"\""))
53 0 0 unless $doc->children->length
56 0 0 if (not $self->_is_a($this, "HTML::Object::Element") or $self->_is_a($this, "HTML::Object::Collection"))
60 0 0 if ($this->tag eq "html" and $self->children->length and $self->children->first->tag eq "html")
86 0 0 if $self->declaration
91 0 0 defined $v ? :
104 0 0 defined $v ? :