Branch Coverage

blib/lib/Net/FTP/AutoReconnect.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
81 0 0 if (@_ % 2) { }
116 0 0 $is_reconnect ? :
118 0 0 if $ENV{'DEBUG'} or $$self{'_args'}{'Debug'}
123 0 0 unless $$self{'ftp'} = 'Net::FTP'->new($$self{'_peer'}, %{$$self{'_args'};})
126 0 0 if ($$self{'login'})
130 0 0 if ($$self{'authorize'})
134 0 0 if ($$self{'mode'})
136 0 0 if ($$self{'mode'} eq 'ascii') { }
145 0 0 if ($$self{'cwd'})
149 0 0 if ($$self{'hash'})
153 0 0 if ($$self{'restart'})
157 0 0 if ($$self{'alloc'})
161 0 0 if ($$self{'pasv'})
165 0 0 if ($$self{'port'})
177 0 0 unless (defined $ret)
189 0 0 if ($r)
253 0 0 unless $$self{'ftp'}->ascii
260 0 0 unless $$self{'ftp'}->binary
267 0 0 unless $$self{'ftp'}->rename(@a)
274 0 0 unless $$self{'ftp'}->delete(@a)
281 0 0 unless $$self{'ftp'}->cwd(@a)
282 0 0 if ($ret)
284 0 0 unless $$self{'cwd'} = $$self{'ftp'}->pwd
294 0 0 unless $$self{'ftp'}->cdup(@a)
295 0 0 if ($ret)
297 0 0 unless $$self{'cwd'} = $$self{'ftp'}->pwd
314 0 0 unless $$self{'ftp'}->rmdir(@a)
329 0 0 wantarray ? :
0 0 $ret ? :
337 0 0 wantarray ? :
0 0 $ret ? :
352 0 0 unless $$self{'ftp'}->retr(@a)