Branch Coverage

blib/lib/Data/Edit/Xml/SDL.pm
Criterion Covered Total %
branch 15 40 37.5


line true false branch
66 0 2 unless $mixed =~ /\A(True|False)\Z/s
71 0 2 unless $fileExt
74 2 0 unless $sdl->filesFlattened
92 0 0 unless $mixed =~ /\A(True|False)\Z/s
111 0 2 unless $guid
132 0 2 if ($imageFile)
134 0 0 if (-e $i)
167 2 0 if $a
191 0 2 if $file =~ /\.imageDef\Z/s
196 2 0 if $lint->ditaType
197 0 0 if &fe($file) =~ /ditamap/is
198 0 0 if &fe($file) =~ /(emf|gif|png|jpg|jpeg|pdf|tiff)/is
199 0 0 if &fe($file) =~ /imageDef/
203 0 2 unless $ditaType
205 1 1 if ($ditaType =~ /map/i) { }
1 0 elsif ($ditaType =~ /concept|reference|task|troubleShooting/i) { }
0 0 elsif ($ditaType =~ /image/i) { }
535 0 1 if eval "eof(${p}::DATA)"
537 0 1 if $@
539 0 1 if $@