Branch Coverage

blib/lib/File/PerlMove.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
28 0 10 unless defined $transform and defined $filelist
37 9 1 unless ref $transform eq 'CODE'
41 0 10 if $options->{'reverse'}
51 10 0 unless ($old eq $new)
54 1 9 if ($options->{'createdirs'})
56 1 0 unless (-d $dir)
57 0 1 if ($options->{'showonly'}) { }
67 0 10 if ($options->{'verbose'} or $options->{'showonly'})
69 0 0 if $options->{'showonly'}
73 2 8 if (not $options->{'overwrite'} and -e $new)
80 1 7 if ($options->{'symlink'}) { }
1 6 elsif ($options->{'link'}) { }
89 7 1 if ($res == 1) { }
95 1 0 $options->{'errno'} ? :
107 2 7 if ($cmd =~ /^(uc|lc|ucfirst)$/) { }
0 7 elsif ($cmd =~ /^:(.+):(.+):$/) { }
117 0 9 if ($@)