Showing 9,525 of 13,510 total issues
File cp1257.py
has 287 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
""" Python Character Mapping Codec cp1257 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1257.TXT' with gencodec.py.
"""#"
import codecs
File iso8859_10.py
has 287 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
""" Python Character Mapping Codec iso8859_10 generated from 'MAPPINGS/ISO8859/8859-10.TXT' with gencodec.py.
"""#"
import codecs
File iso8859_13.py
has 287 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
""" Python Character Mapping Codec iso8859_13 generated from 'MAPPINGS/ISO8859/8859-13.TXT' with gencodec.py.
"""#"
import codecs
File mac_croatian.py
has 287 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
""" Python Character Mapping Codec mac_croatian generated from 'MAPPINGS/VENDORS/APPLE/CROATIAN.TXT' with gencodec.py.
"""#"
import codecs
Function CreatePcdDatabasePhaseSpecificAutoGen
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def CreatePcdDatabasePhaseSpecificAutoGen (Platform, Phase):
AutoGenC = TemplateString()
AutoGenH = TemplateString()
Dict = {
Function main
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def main():
# overridable context
prefix = None # settable with -p option
exec_prefix = None # settable with -P option
extensions = []
File poplib.py
has 285 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""A POP3 client class.
Based on the J. Myers POP3 draft, Jan. 96
"""
File poplib.py
has 285 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""A POP3 client class.
Based on the J. Myers POP3 draft, Jan. 96
"""
Dsc
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Dsc(DscObject):
_NullClassIndex = 0
def __init__(self, Filename=None, IsToDatabase=False, IsToPlatform=False, WorkspaceDir=None, Database=None):
self.Identification = Identification()
IpiDatabase
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class IpiDatabase(object):
def __init__(self, DbPath):
Dir = os.path.dirname(DbPath)
if not os.path.isdir(Dir):
os.mkdir(Dir)
SMTP
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SMTP:
"""This class manages a connection to an SMTP or ESMTP server.
SMTP Objects:
SMTP objects have the following attributes:
helo_resp
Element
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Element(Node):
nodeType = Node.ELEMENT_NODE
nodeValue = None
schemaType = _no_type
Random
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Random(_random.Random):
"""Random number generator base class used by bound module functions.
Used to instantiate instances of Random to get generators that don't
share state. Especially useful for multi-threaded programs, creating
Folder
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Folder:
"""Class representing a particular folder."""
def __init__(self, mh, name):
"""Constructor."""
SPI
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SPI:
def __init__( self, cs ):
self.cs = cs
#self.rcba_spi_base = get_MMIO_base_address( self.cs, MMIO_BAR_LPCRCBA_SPI )
self.rcba_spi_base = get_SPI_MMIO_base( self.cs )
SMTP
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SMTP:
"""This class manages a connection to an SMTP or ESMTP server.
SMTP Objects:
SMTP objects have the following attributes:
helo_resp
Element
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Element(Node):
nodeType = Node.ELEMENT_NODE
nodeValue = None
schemaType = _no_type
Random
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Random(_random.Random):
"""Random number generator base class used by bound module functions.
Used to instantiate instances of Random to get generators that don't
share state. Especially useful for multi-threaded programs, creating
Folder
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Folder:
"""Class representing a particular folder."""
def __init__(self, mh, name):
"""Constructor."""
File StringIO.py
has 283 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
r"""File-like objects that read from or write to a string buffer.
This implements (nearly) all stdio methods.
f = StringIO() # ready for writing