Branch Coverage

blib/lib/Brackup/Util.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
20 12 1 if ($$ == $mainpid and $_temp_directory)
21 12 0 unless $ENV{'BRACKUP_TEST_NOCLEANUP'}
29 12 257 unless (defined $_temp_directory)
30 0 12 $ENV{'BRACKUP_TEST_NOCLEANUP'} ? :
38 198 0 wantarray ? :
42 0 41 $ENV{'BRACKUP_TEST_NOCLEANUP'} ? :
56 13 88 if ($opts{'decompress'} and eval { do { require IO::Uncompress::AnyUncompress } }) { }
57 0 13 unless $fh = 'IO::Uncompress::AnyUncompress'->new($file)
60 0 88 unless sysopen $fh, $file, 0
69 0 0 if %uarg
76 0 0 unless -e $filename
78 0 0 unless -e "$filename.$i"
91 11 88 if $sha1