Branch Coverage

blib/lib/Archive/Tar/Merge.pm
Criterion Covered Total %
branch 30 42 71.4


line true false branch
31 0 9 if (@{$$self{'source_tarballs'};} == 0)
36 0 18 unless (-f $tarball)
94 54 35 unless -f $_
102 33 2 if (not exists $$paths{$rel} && exists $$paths{$rel}{'digests'}{$digest})
121 0 26 unless -d $dst_dir
125 0 26 if (-l $src_entry)
127 0 0 unless symlink readlink $src_entry, $dst_entry
132 19 7 if (@digests == 1) { }
136 4 15 if (defined $$self{'hook'})
143 1 3 if (do { defined $$hook{'action'} }) { }
2 1 elsif (defined $$hook{'content'}) { }
145 1 0 if ($$hook{'action'} eq 'ignore') { }
163 6 1 if (defined $$self{'decider'}) { }
170 2 4 if (do { defined $$decision{'action'} }) { }
2 2 elsif (defined $$decision{'index'}) { }
2 0 elsif (defined $$decision{'content'}) { }
172 2 0 if ($$decision{'action'} eq 'ignore') { }
193 4 18 if (defined $dst_content) { }
200 8 0 if (defined $$self{'dest_tarball'})
202 8 0 if ($$self{'dest_tarball'} =~ /gz$/)
217 0 35 unless open FH, "<$filename"