Branch Coverage

blib/lib/Tapper/Installer/Precondition/Copyfile.pm
Criterion Covered Total %
branch 11 32 34.3


line true false branch
18 0 5 unless $file->{'name'}
19 0 5 unless $file->{'dest'}
23 0 5 unless $file->{'protocol'}
26 0 5 if ($file->{'protocol'} eq 'nfs') { }
0 5 elsif ($file->{'protocol'} eq 'rsync') { }
5 0 elsif ($file->{'protocol'} eq 'local') { }
0 0 elsif ($file->{'protocol'} eq 'scp') { }
38 0 5 if $file->{'copy_prc'}
51 0 5 if ($file->{'dest'} =~ m[/$]) { }
55 0 5 unless $dest_path =~ m[/$]
57 0 5 if $retval = $self->makedir($dest_path)
61 0 5 if $error
74 0 0 if ($file->{'name'} =~ m[/$]) { }
78 0 0 unless $path =~ m[/$]
81 0 0 unless -d $nfs_dir
86 0 0 if $error