Branch Coverage

blib/lib/POE/Component/Server/FTP/ControlSession.pm
Criterion Covered Total %
branch 0 124 0.0


line true false branch
103 0 0 if ($@)
135 0 0 if ($$heap{'params'}{'TimeOut'} > 0)
165 0 0 if ($action eq 'create') { }
0 0 elsif ($action eq 'lose') { }
174 0 0 if ($$heap{'params'}{'LimitSceme'} eq 'ip')
178 0 0 if (defined $$heap{'abor'}) { }
192 0 0 if ($$heap{'control'})
208 0 0 if (defined $$heap{'pending_session'} and $$heap{'params'}{'TimeOut'} > 0)
216 0 0 unless ($$heap{'control'})
221 0 0 if ($$heap{'auth'} == 0) { }
238 0 0 if ($$heap{'auth'} == 1)
247 0 0 if ($errnum) { }
263 0 0 if ($$heap{'shutdown_on_flush'})
285 0 0 if ($$heap{'auth'} == 0) { }
296 0 0 if ($$heap{'auth'} == 0) { }
313 0 0 if (not defined $ret)
332 0 0 if ($username eq 'anonymous') { }
347 0 0 if (exists $$heap{'username'}) { }
348 0 0 if ($$heap{'params'}{'AnonymousLogin'} eq 'deny' and $$heap{'username'} eq 'anonymous')
362 0 0 if ($fs->login($$heap{'username'}, $password)) { }
399 0 0 if ($$heap{'auth'} == 0)
404 0 0 if ($$args[0] =~ /^\d+$/) { }
416 0 0 if ($$heap{'auth'} == 0)
430 0 0 if ($$heap{'auth'} == 0)
441 0 0 if ($$heap{'auth'} == 0)
446 0 0 if (defined $$heap{'pending_session'})
459 0 0 if ($$heap{'auth'} == 0)
467 0 0 if ($modtime[0] == 0) { }
477 0 0 if ($$heap{'auth'} == 0)
498 0 0 if ($$heap{'auth'} == 0)
507 0 0 if ($fs->chmod($mode, $fn)) { }
518 0 0 if ($$heap{'auth'} == 0)
526 0 0 if ($fs->delete($fn)) { }
536 0 0 if ($$heap{'auth'} == 0)
546 0 0 if ($ret == 1) { }
0 0 elsif ($ret == 2) { }
586 0 0 if ($$heap{'auth'} == 0)
594 0 0 if ($fs->rmdir($fn)) { }
625 0 0 if ($$heap{'auth'} == 0)
633 0 0 if ($fs->chdir('..')) { }
644 0 0 if ($$heap{'auth'} == 0)
652 0 0 if ($fs->chdir($fn)) { }
663 0 0 if ($$heap{'auth'} == 0) { }
676 0 0 if ($$heap{'auth'} == 0)
690 0 0 if ($$heap{'auth'} == 0)
716 0 0 if ($$heap{'auth'} == 0)
725 0 0 if (defined $$heap{'pending_session'} and $$heap{'pasv'} == 1) { }
741 0 0 if ($$heap{'auth'} == 0)
750 0 0 if (defined $$heap{'pending_session'} and $$heap{'pasv'} == 1) { }
765 0 0 if ($$heap{'auth'} == 0)
774 0 0 if ($fh = $fs->open_write($filename)) { }
777 0 0 if (defined $$heap{'pending_session'} and $$heap{'pasv'} == 1) { }
802 0 0 if ($$heap{'auth'} == 0)
812 0 0 if ($fh = $fs->open_write($filename, 1)) { }
815 0 0 if (defined $$heap{'pending_session'} and $$heap{'pasv'} == 1) { }
838 0 0 if ($$heap{'auth'} == 0)
847 0 0 if ($fh = $fs->open_read($filename)) { }
849 0 0 if (defined $$heap{'pending_session'} and $$heap{'pasv'} == 1) { }
873 0 0 if ($cmd =~ /^_/) { }
887 0 0 if (defined $$heap{'time_out'})
894 0 0 if ($verbose <= $$heap{'params'}{'LogLevel'})
898 0 0 $sender->ID == $session->ID ? :