Branch Coverage

blib/lib/HTML/Doctype.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
39 0 0 if defined $_[0]{'type'}
58 0 0 unless defined $doctyped
66 0 0 if $gtpos < 0
68 0 0 if defined $doctyped and exists $$doctyped{'ExternalId'}{'PublicId'}
71 0 0 if defined $doctyped and exists $$doctyped{'ExternalId'}{'SystemId'}
78 0 0 if $gtpos < 0
84 0 0 if (index($text, '[') >= 0)
87 0 0 if $gtpos2 >= 0
101 0 0 unless exists $$doct{'ExternalId'}{'PublicId'} or exists $$doct{'ExternalId'}{'SystemId'}
107 0 0 unless defined $puid
113 0 0 unless @comp > 2
117 0 0 unless $comp[2] =~ /^DTD\s+(\S+)/
122 0 0 unless $1 =~ /XHTML/
134 0 0 unless exists $$elem{'Attributes'}{'XMLNS'}
140 0 0 unless $$xmlns{'Defaulted'} eq 'specified'