Branch Coverage

blib/lib/Metabrik/Network/Ftp.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
55 0 0 unless $self->brik_help_run_undef_arg("open", $hostname)
61 0 0 $self->log->level > 2 ? :
0 0 unless my $ftp = "Net::FTP"->new($hostname, "Port", $port, "Debug", $self->log->level > 2 ? 1 : 0)
67 0 0 unless $ftp->login($username, $password)
79 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
90 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
102 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
116 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
130 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
131 0 0 unless $self->brik_help_run_undef_arg("rmdir", $directory)
143 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
144 0 0 unless $self->brik_help_run_undef_arg("mkdir", $directory)
155 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
166 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
178 0 0 unless $self->brik_help_run_undef_arg("open", $ftp)
179 0 0 unless $self->brik_help_run_undef_arg("get", $remote)
180 0 0 unless $self->brik_help_run_undef_arg("get", $local)
190 0 0 if (defined $self->_ftp)