Branch Coverage

lib/HTML/Object/DOM/Element/Shared.pm
Criterion Covered Total %
branch 6 20 30.0


line true false branch
160 0 1 if (defined $id and length "$id") { }
163 0 0 unless defined $root
220 0 0 unless defined $id and length $id
230 0 0 if (@_) { }
236 0 0 if ref $self->{'list'}
239 0 0 unless defined $id
270 0 3 if ref $uri eq "URI::_generic"
271 0 3 unless $uri->host
279 3 0 if substr($origin->path, -1, 1) eq "/"
314 1 2 unless ($self->{'_rel_list'})