Debian Automated Code Analysis

pyflakes analysis of python-pcs_0.5+debian-1.1_all.deb

./usr/share/pyshared/pcs/__init__.py:66: 'from socket import *' used; unable to detect undefined names
./usr/share/pyshared/pcs/packets/arp.py:38: 'inet_ntoa' imported but unused
./usr/share/pyshared/pcs/packets/ipv6.py:111: undefined name 'ipsec'
./usr/share/pyshared/pcs/packets/ipv6.py:113: undefined name 'ipsec'
./usr/share/pyshared/pcs/packets/ipv6.py:163: undefined name 'op'
./usr/share/pyshared/pcs/packets/ipv6.py:164: undefined name 'op'
./usr/share/pyshared/pcs/packets/ipv6.py:165: undefined name 'op'
./usr/share/pyshared/pcs/packets/ipv6.py:167: undefined name 'op'
./usr/share/pyshared/pcs/packets/ipv6.py:194: undefined name 'op'
./usr/share/pyshared/pcs/packets/ipv6.py:195: undefined name 'op'
./usr/share/pyshared/pcs/packets/ipv6.py:196: undefined name 'op'
./usr/share/pyshared/pcs/packets/ipv6.py:198: undefined name 'op'
./usr/share/pyshared/pcs/packets/payload.py:60: local variable 'retval' is assigned to but never used
./usr/share/pyshared/pcs/packets/dhcpv4.py:57: local variable 'chaddr' is assigned to but never used
./usr/share/pyshared/pcs/packets/ipv4.py:97: undefined name 'ipsec'
./usr/share/pyshared/pcs/packets/ipv4.py:99: undefined name 'ipsec'
./usr/share/pyshared/pcs/packets/udpv6.py:41: 'from pseudoipv6 import *' used; unable to detect undefined names
./usr/share/pyshared/pcs/packets/pseudoipv6.py:38: 'struct' imported but unused
./usr/share/pyshared/pcs/packets/nd6.py:39: 'icmpv6' imported but unused
./usr/share/pyshared/pcs/packets/udp.py:38: 'from pcs.packets.dns import *' used; unable to detect undefined names
./usr/share/pyshared/pcs/packets/tcpv6.py:39: 'from pseudoipv6 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/http_get.py:42: 'from socket import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/pcap_info.py:40: 'from pcs.packets.udp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/pcap_info.py:41: 'from pcs.packets.tcp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/pcap_info.py:42: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/pcap_info.py:43: 'from pcs.packets.ethernet import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/pcap_info.py:44: 'from pcs.packets.arp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/pcap_info.py:45: 'inet_ntoa' imported but unused
./usr/share/doc/python-pcs/Web/pcap_slice.py:40: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/pcap_slice.py:41: 'inet_ntoa' imported but unused
./usr/share/doc/python-pcs/Web/pcap_slice.py:42: 'array' imported but unused
./usr/share/doc/python-pcs/Web/arpwhohas.py:40: 'pcs' imported but unused
./usr/share/doc/python-pcs/Web/arpwhohas.py:41: 'from pcs import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/arpwhohas.py:42: 'from pcs.packets.arp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/arpwhohas.py:43: 'from pcs.packets.ethernet import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/Web/arpwhohas.py:84: local variable 'out' is assigned to but never used
./usr/share/doc/python-pcs/examples/scripts/http_get.py:39: 'from socket import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/pcap_info.py:40: 'from pcs.packets.udp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/pcap_info.py:41: 'from pcs.packets.tcp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/pcap_info.py:42: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/pcap_info.py:43: 'from pcs.packets.ethernet import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/pcap_info.py:44: 'from pcs.packets.arp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/pcap_info.py:45: 'inet_ntoa' imported but unused
./usr/share/doc/python-pcs/examples/scripts/pcap_slice.py:40: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/pcap_slice.py:41: 'inet_ntoa' imported but unused
./usr/share/doc/python-pcs/examples/scripts/pcap_slice.py:42: 'array' imported but unused
./usr/share/doc/python-pcs/examples/scripts/dns_query.py:38: 'pcs' imported but unused
./usr/share/doc/python-pcs/examples/scripts/dns_query.py:39: 'from pcs import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/dns_query.py:40: 'from pcs.packets.dns import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/ddos_analyze.py:40: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/ddos_analyze.py:41: 'inet_ntoa' imported but unused
./usr/share/doc/python-pcs/examples/scripts/ddos_analyze.py:41: 'inet_aton' imported but unused
./usr/share/doc/python-pcs/examples/scripts/ddos_analyze.py:41: 'ntohl' imported but unused
./usr/share/doc/python-pcs/examples/scripts/ping.py:39: 'from pcs.packets.localhost import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/ping.py:40: 'from pcs.packets.ethernet import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/ping.py:41: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/ping.py:42: 'from pcs.packets.icmpv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/ping.py:43: 'from pcs import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/ping.py:116: local variable 'out' is assigned to but never used
./usr/share/doc/python-pcs/examples/scripts/udp_echo.py:37: 'pcs' imported but unused
./usr/share/doc/python-pcs/examples/scripts/udp_echo.py:38: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/udp_echo.py:39: 'from pcs.packets.udp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/udp_echo.py:41: 'from socket import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/arpwhohas.py:37: 'pcs' imported but unused
./usr/share/doc/python-pcs/examples/scripts/arpwhohas.py:38: 'from pcs import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/arpwhohas.py:39: 'from pcs.packets.arp import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/arpwhohas.py:40: 'from pcs.packets.ethernet import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/scripts/arpwhohas.py:81: local variable 'out' is assigned to but never used
./usr/share/doc/python-pcs/examples/tests/tcpv4test.py:41: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/tcpv4test.py:45: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/tcpv4test.py:139: redefinition of function 'test_ipv4_print' from line 122
./usr/share/doc/python-pcs/examples/tests/udpv4test.py:41: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/udpv4test.py:44: 'from pcs.packets.udpv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/ipv4test.py:41: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/ipv4test.py:45: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/dnstest.py:41: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/dnstest.py:44: 'from pcs.packets.dns import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/connectortest.py:40: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/connectortest.py:43: 'from socket import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/connectortest.py:51: 'from pcs import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/connectortest.py:80: 'threading' imported but unused
./usr/share/doc/python-pcs/examples/tests/connectortest.py:116: local variable 'ping' is assigned to but never used
./usr/share/doc/python-pcs/examples/tests/ipv6test.py:41: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/ipv6test.py:45: 'from pcs.packets.ipv6 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/icmpv4test.py:42: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/icmpv4test.py:45: 'from pcs.packets.localhost import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/icmpv4test.py:46: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/icmpv4test.py:47: 'from pcs.packets.icmpv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/icmpv4test.py:48: 'from pcs import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/printtest.py:41: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/printtest.py:46: 'from pcs.packets.ethernet import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/ethertest.py:41: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/ethertest.py:46: 'from pcs.packets.ethernet import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/chaintest.py:39: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/chaintest.py:44: 'from pcs import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/boundstest.py:40: 'sys' imported but unused
./usr/share/doc/python-pcs/examples/tests/boundstest.py:43: 'from pcs.packets.ipv4 import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/boundstest.py:44: 'from pcs.packets.ethernet import *' used; unable to detect undefined names
./usr/share/doc/python-pcs/examples/tests/boundstest.py:45: 'from pcs.packets.dns import *' used; unable to detect undefined names

This report was generated on Sun, 02 Jan 2011 05:31:56 +0000, based on results by pyflakes 0.4.0-1