Branch Coverage

blib/lib/IO/File/CompressOnClose/Zip.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
42 2 0 unless ($dst_file)
47 0 2 unless my $zip = 'Archive::Zip'->new
52 1 1 unless ($member_name = $self->member_filename)
58 0 2 unless ($zip->addFile($src_file, $member_name))
63 0 2 unless (0 == $zip->writeToFileNamed($dst_file))
76 1 2 if @_ > 1