Branch Coverage

blib/lib/IO/Ftp.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
37 0 0 if (ref $src and not $src->isa('IO::Ftp'))
43 0 0 if (ref $uri_string) { }
44 0 0 unless ($uri_string->isa('URI'))
54 0 0 if (ref $src and not $uri->host) { }
55 0 0 if ($src->connected)
71 0 0 unless ($ftp)
77 0 0 unless $self
91 0 0 unless ($ftp->login($id, $pwd))
96 0 0 if $args{'OS'}
99 0 0 if $args{'DEBUG'}
101 0 0 if ($path =~ m[^//(.*)])
103 0 0 if $args{'DEBUG'}
104 0 0 unless ($ftp->cwd('/'))
111 0 0 unless $_
112 0 0 if $args{'DEBUG'}
113 0 0 unless ($ftp->cwd($_))
118 0 0 if ($args{'type'})
120 0 0 unless ($args{'type'} =~ /^[AI]$/)
124 0 0 unless ($ftp->type($args{'type'}))
129 0 0 if ($mode eq '<<')
131 0 0 unless $file
140 0 0 if ($mode eq '<' or $mode eq '<<') { }
0 0 elsif ($mode eq '>') { }
0 0 elsif ($mode eq '>>') { }
151 0 0 unless ($dataconn)
194 0 0 if $self->connected
203 0 0 if $self->connected
213 0 0 if $self->connected
220 0 0 if $self->connected