Branch Coverage

blib/lib/App/Upfiles/FTPlazy.pm
Criterion Covered Total %
branch 1 54 1.8


line true false branch
46 0 0 defined $self->{'ftp'} ? :
55 0 0 defined $self->{'ftp'} ? :
60 0 0 if (@_ < 2)
67 0 0 unless (defined $self->{'want_host'})
71 0 0 if (defined $self->{'got_host'} and $self->{'got_host'} eq $self->{'want_host'})
78 0 0 if ($self->{'use_SSL'} and not 'Net::FTP'->can('can_ssl'))
83 0 0 if ($self->{'verbose'} >= 2)
87 0 0 if ($self->{'use_SSL'})
89 0 0 unless ($IO::Socket::SSL::DEBUG)
100 0 0 unless ($ftp)
106 0 0 if ($self->{'verbose'})
112 0 0 if ($self->{'use_TLS'})
113 0 0 if ($self->{'verbose'})
130 0 0 unless (defined $self->{'want_username'})
135 0 0 if (defined $self->{'got_username'} and $self->{'got_username'} eq $self->{'want_username'})
139 0 0 if ($self->{'verbose'} >= 2)
140 0 0 unless $self->{'ftp'}->login($self->{'want_username'})
155 0 0 unless (defined $self->{'want_binary'})
158 0 0 if (defined $self->{'got_binary'} and $self->{'got_binary'} eq $self->{'want_binary'})
162 0 0 $self->{'want_binary'} ? :
163 0 0 if ($self->{'verbose'} >= 2)
164 0 0 unless $self->{'ftp'}->$method
174 0 4 unless (defined $dir)
186 0 0 if (defined $self->{'got_dir'} and $self->{'got_dir'} eq $self->{'want_dir'})
190 0 0 if ($self->{'verbose'} >= 2)
192 0 0 unless $self->{'ftp'}->cwd($self->{'want_dir'})
255 0 0 unless $self->ensure_all