Branch Coverage

blib/lib/File/Archive.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
15 1 4 if ($name =~ /\.(tar\.gz|tar\.Z|tgz)$/) { }
2 2 elsif ($name =~ /\.(gz|Z)$/) { }
1 1 elsif ($name =~ /\.tar$/) { }
40 1 4 if ($$self{'type_num'} == 4) { }
2 2 elsif ($$self{'type_num'} == 1 or $$self{'type_num'} == 3) { }
59 0 3 if ($$self{'type_num'} == 4) { }
2 1 elsif ($$self{'type_num'} == 1 or $$self{'type_num'} == 3) { }
70 0 1 if ($$self{'filename'} =~ /\.(Z|zip|hqx|bz2?)$/) { }
73 0 1 unless $gz = gzopen($$self{'filename'}, 'rb')