Branch Coverage

blib/lib/FB3/Validator.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
60 0 0 if $@
71 0 0 unless ($CtXML)
81 0 0 if ($@)
93 0 0 if (defined $SourceDir and defined $SourceFileName)
96 0 0 if ($SourcePartName eq '/' or grep(($SourcePartName eq $_), @ValidPartNames))
100 0 0 unless grep(($PartName eq $_), @RelsPartNames)
122 0 0 if ($@)
129 0 0 unless ($Package->PartContentType($RelsPartName) eq 'application/vnd.openxmlformats-package.relationships+xml')
143 0 0 if (grep(($RelID eq $_), @RelIDs))
149 0 0 if ($TargetMode eq 'Internal')
156 0 0 unless (grep(($RelatedPartName eq $_), @ValidPartNames))
162 0 0 if (grep(($RelatedPartName eq $_), @RelsPartNames))
167 0 0 unless grep(($RelatedPartName eq $_), @PartNames)
172 0 0 if ($RelsPartName eq '/_rels/.rels')
184 0 0 unless (defined $Package->PartContentType($PartName))
191 0 0 unless ($PackageRelsDoc)
202 0 0 if (@CorePropRelations > 1)
208 0 0 if (@CorePropRelations)
218 0 0 if ($@)
223 0 0 unless ($Package->PartContentType($CorePropPartName) eq 'application/vnd.openxmlformats-package.core-properties+xml')
234 0 0 unless (@DescrRelationNodes)
252 0 0 if ($@)
263 0 0 unless ($DescrRelsXML)
272 0 0 unless ($BodyRelation)
288 0 0 if ($@)
301 0 0 if $PartName =~ m[/$]
311 0 0 if $NameSegment =~ /$PercentEncodedChar/i
315 0 0 if $NameSegment =~ /\.$/