Branch Coverage

blib/lib/HTML/HTML5/DOM.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
44 0 0 @has ? :
50 0 0 blessed($_[0]) ? :
64 0 0 $options{'using'} =~ /libxml/i ? :
73 0 0 $options{'using'} =~ /libxml/i ? :
74 0 0 &IO::Detect::is_filehandle($file) ? :
84 0 0 unless (shift() // 'http://www.w3.org/1999/xhtml') eq 'http://www.w3.org/1999/xhtml'
86 0 0 unless lc(shift() // 'html') eq 'html'
89 0 0 if ref $dtd
101 0 0 if ($public and $system) { }
0 0 elsif ($public) { }
0 0 elsif ($system) { }
212 0 0 if $parent eq $package
225 0 0 unless (keys %$docs)
270 0 0 unless @_ == 2
306 0 0 unless $class =~ /::/
307 0 0 if ($class->can($name)) { }
327 0 0 if $swap
329 0 0 unless my($test_name, $test_version) = do { if (blessed $test and $test->isa('HTML::HTML5::DOMutil::Feature')) { $test->feature_name, $test->feature_version; } elsif (not ref $test) { split(/\s+/, $test, 0); } else { (); } }
330 0 0 if (blessed $test and $test->isa('HTML::HTML5::DOMutil::Feature')) { }
0 0 elsif (not ref $test) { }
338 0 0 unless $self->feature_name eq lc $test_name
339 0 0 if defined $test_version and $test_version > $self->feature_version