Branch Coverage

blib/lib/Module/DataPack.pm
Criterion Covered Total %
branch 9 26 34.6


line true false branch
122 0 1 if ($args{'module_srcs'}) { }
124 0 0 unless $mod_pm =~ /\.pm\z/
130 2 0 unless $mod_pm =~ /\.pm\z/
131 0 2 if $module_srcs{$mod_pm}
134 0 2 unless $path
139 0 1 if ($args{'stripper'})
155 0 1 if defined $args{'preamble'}
243 0 1 if ($put_hook_at_the_end) { }
257 0 1 if defined $args{'postamble'}
276 0 1 if ($args{'output'}) { }
278 0 0 if (-f $outfile)
280 0 0 unless $args{'overwrite'}
282 0 0 unless write_binary($outfile, join('', @res))