Branch Coverage

blib/lib/Dpkg/Source/Functions.pm
Criterion Covered Total %
branch 4 30 13.3


line true false branch
39 0 0 unless (lstat $dir)
40 0 0 if $! == 2
44 0 0 if $?
45 0 0 unless (stat $dir)
46 0 0 if $! == 2
63 0 0 if $i
66 0 0 $mode & 256 >> $i * 3 + $j ? :
71 0 0 if $?
82 0 0 if $oldperms == $newperms
96 0 2 if (not -e $file) { }
97 0 0 unless open my $temp_fh, '>', $file
101 0 2 unless utime undef, undef, $file
104 0 2 unless stat $file
106 0 2 if $is_temp
115 0 0 unless open my $fh, '<', $file