Branch Coverage

lib/App/Followme/UploadFtp.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
38 0 0 if ($self->{'ftp'}->ls($dir)) { }
0 0 elsif ($self->{'ftp'}->mkdir($dir)) { }
57 0 0 if ($self->{'ftp'}->mdtm($remote_filename))
62 0 0 if (-B $local_filename) { }
0 0 elsif (not $self->{'ascii'}) { }
63 0 0 if ($self->{'ascii'})
74 0 0 if ($self->{'ftp'}->put($local_filename, $remote_filename))
102 0 0 if ($self->{'ftp'}->ls($dir)) { }
103 0 0 if ($self->{'ftp'}->rmdir($dir))
123 0 0 if ($self->{'ftp'}->mdtm($filename)) { }
124 0 0 if ($self->{'ftp'}->delete($filename))
144 0 0 unless my $ftp = 'Net::FTP'->new($self->{'ftp_url'}, 'Debug', $self->{'ftp_debug'})
146 0 0 unless $ftp->login($user, $password)
149 0 0 unless $ftp->cwd($self->{'remote_directory'})