Branch Coverage

blib/lib/Package/Builder.pm
Criterion Covered Total %
branch 2 34 5.8


line true false branch
102 0 0 if ($@)
113 0 0 if (defined $uid and defined $gid)
134 0 0 if $dir =~ /$rdir/
145 0 0 if $file =~ /$dpat/
156 0 0 if $file =~ /$cpat/
171 0 0 if ($path =~ /^$subpath/)
186 0 0 unless -f $specFile
191 0 0 if $changeLogHeaderFound == 1
192 0 0 if /^%changelog/
203 0 0 unless $version =~ /^[0-9][0-9\.]*$/
213 0 0 unless $release =~ /^[1-9][0-9]*$/
225 1 0 unless open MACROS, $macrosFile
226 0 1 if ($opened)
228 0 0 if (/^\%$parameter\s+(.*)$/)
391 0 0 if ($fileName ne '')
393 0 0 unless open TEMPLATE, "$fileName"
395 0 0 if ($opened)