Branch Coverage

blib/lib/Net/Lite/FTP.pm
Criterion Covered Total %
branch 0 156 0.0


line true false branch
89 0 0 if defined $size
98 0 0 unless defined $pathname
121 0 0 if (sysread $sock, $data, 4096)
124 0 0 if (sysread $sock, $data, 4096)
147 0 0 unless setsockopt $sock, 1, 21, "\cO\000\000\000\000\000\000\000"
148 0 0 unless setsockopt $sock, 1, 20, "\cO\000\000\000\000\000\000\000"
149 0 0 unless setsockopt $sock, 1, 9, 1
161 0 0 if ($$self{'FTPS'})
169 0 0 if ($data = readln($sock))
170 0 0 if $$self{'Debug'}
172 0 0 if $$self{'Debug'}
175 0 0 if ($$self{'Encrypt'} and not $$self{'FTPS'})
178 0 0 if ($data = readln($sock))
179 0 0 if $$self{'Debug'}
184 0 0 if ($$self{'Encrypt'} and not $$self{'FTPS'})
211 0 0 if ($self->command("RNFR $from")) { }
222 0 0 if $$self{'Debug'}
233 0 0 unless (defined $read)
260 0 0 if $$self{'Debug'}
261 0 0 if ($read =~ /^(\d\d\d)\s(.*)/)
264 0 0 if ($read =~ /^(\d\d\d)-(.*)/)
266 0 0 if $$self{'Debug'}
268 0 0 if ($read =~ /^(\d\d\d)\s(.*)/m)
269 0 0 if ($cont)
273 0 0 if ($read =~ /^(\d\d\d)-(.*)/)
274 0 0 if ($read =~ /^(\d\d\d)\s(.*)/)
275 0 0 if $$self{'Debug'}
283 0 0 if ($code > 399)
291 0 0 if $$self{'Debug'}
302 0 0 if (defined $socket)
304 0 0 if (defined $mask) { }
313 0 0 if ($response and $$self{'FTPCODE'} < 200)
315 0 0 if ($$self{'EncryptData'} == 1)
317 0 0 if $$self{'Debug'}
328 0 0 if ($response)
0 0 if ($response and $$self{'FTPCODE'} < 200)
329 0 0 if $$self{'Debug'}
330 0 0 if $response
339 0 0 unless defined $local
340 0 0 unless $$self{'DontDoType'}
342 0 0 unless defined $socket
343 0 0 if ($$self{'EncryptData'} != 0)
345 0 0 unless ($r)
346 0 0 if $$self{'Debug'}
350 0 0 if ($$self{'EncryptData'} == 1)
352 0 0 if $$self{'Debug'}
355 0 0 if $$self{'Debug'}
358 0 0 if ($putorblat =~ /put/) { }
359 0 0 unless CORE::open L, "$local"
364 0 0 if (defined $$self{'PutUpdateCallback'})
369 0 0 if (defined $$self{'PutUpdateCallback'})
375 0 0 if $$self{'Debug'}
376 0 0 if (defined $$self{'PutDoneCallBack'})
403 0 0 unless defined $local
409 0 0 unless setsockopt $socket, 1, 21, "\cO\000\000\000\000\000\000\000"
410 0 0 unless setsockopt $socket, 1, 20, "\cO\000\000\000\000\000\000\000"
411 0 0 unless setsockopt $socket, 1, 9, 1
415 0 0 if ($$self{'EncryptData'} != 0)
417 0 0 unless ($r)
418 0 0 if $$self{'Debug'}
422 0 0 if ($$self{'EncryptData'} == 1)
424 0 0 if $$self{'Debug'}
427 0 0 if ($getorslurp =~ /get/) { }
428 0 0 if $$self{'Debug'}
429 0 0 unless CORE::open L, ">$local"
436 0 0 if $$self{'Debug'}
437 0 0 if (defined $$self{'GetUpdateCallback'})
446 0 0 if $$self{'Debug'}
449 0 0 if $$self{'Debug'}
450 0 0 if (defined $$self{'GetUpdateCallback'})
455 0 0 if $$self{'Debug'}
456 0 0 if (defined $$self{'GetDoneCallBack'})
463 0 0 if ($tmp = $self->command('PASV')) { }
464 0 0 if ($self->msgcode == 227 and $tmp =~ /[^\d]*(\d+),(\d+),(\d+),(\d+),(\d+),(\d+)/) { }
468 0 0 if (defined $socket) { }
469 0 0 if $$self{'Debug'}
514 0 0 if ($$self{'Encrypt'}) { }
516 0 0 if ($$self{'EncryptData'} != 0)