Branch Coverage

lib/HTML/Object/DOM/Declaration.pm
Criterion Covered Total %
branch 3 18 16.6


line true false branch
32 0 18 unless $self->HTML::Object::Declaration::init(@_)
41 0 0 unless $parent
43 0 0 if $nodes->is_empty
58 0 0 unless $parent
60 0 0 if $nodes->is_empty
83 0 1 if (my $rv = $self->original->match(qr/PUBLIC[[:blank:]\h]+\"([^\"]+)\"/))
104 0 0 unless defined $pos
109 0 0 if ($self->_is_a($_, "HTML::Object::DOM::Declaration"))
127 0 1 if (my $rv = $self->original->match(qr/[[:blank:]\h]+\"(http[^\"]+)\"/))