Branch Coverage

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


line true false branch
47 0 0 defined $self->{'ftp'} ? :
56 0 0 defined $self->{'ftp'} ? :
61 0 0 if (@_ < 2)
68 0 0 unless (defined $self->{'want_host'})
72 0 0 if (defined $self->{'got_host'} and $self->{'got_host'} eq $self->{'want_host'})
79 0 0 if ($self->{'use_SSL'} and not "Net::FTP"->can("can_ssl"))
84 0 0 if ($self->{'verbose'} >= 2)
88 0 0 if ($self->{'use_SSL'})
90 0 0 unless ($IO::Socket::SSL::DEBUG)
102 0 0 unless ($ftp)
108 0 0 if ($self->{'verbose'})
114 0 0 if ($self->{'use_TLS'})
115 0 0 if ($self->{'verbose'})
132 0 0 unless (defined $self->{'want_username'})
137 0 0 if (defined $self->{'got_username'} and $self->{'got_username'} eq $self->{'want_username'})
141 0 0 if ($self->{'verbose'} >= 2)
142 0 0 unless $self->{'ftp'}->login($self->{'want_username'})
157 0 0 unless (defined $self->{'want_binary'})
160 0 0 if (defined $self->{'got_binary'} and $self->{'got_binary'} eq $self->{'want_binary'})
164 0 0 $self->{'want_binary'} ? :
165 0 0 if ($self->{'verbose'} >= 2)
166 0 0 unless $self->{'ftp'}->$method
176 0 4 unless (defined $dir)
188 0 0 if (defined $self->{'got_dir'} and $self->{'got_dir'} eq $self->{'want_dir'})
192 0 0 if ($self->{'verbose'} >= 2)
194 0 0 unless $self->{'ftp'}->cwd($self->{'want_dir'})
257 0 0 unless $self->ensure_all