Branch Coverage

blib/lib/Directory/Diff/Copy.pm
Criterion Covered Total %
branch 10 32 31.2


line true false branch
24 0 2 unless (-e $filename)
28 0 2 if (@stat == 0)
38 0 1 if (not -d $path)
39 0 0 if ($verbose)
43 0 0 if (not -d $path)
54 0 0 if ($verbose)
58 0 0 if ($file =~ m[/$]) { }
59 0 0 if ($verbose)
67 0 0 unless (-f $copied_file)
79 0 1 unless (defined $mode)
83 0 1 unless copy($from, $to)
86 0 1 unless chmod $mode & 4095, $to
93 0 1 if ($verbose)
98 0 1 if ($verbose)
110 0 1 if (mdate($new_dir) < mdate($old_dir))
113 0 1 if (-d $output_dir)