Showing 9,525 of 13,510 total issues
Function testmod
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def testmod(m=None, name=None, globs=None, verbose=None,
Function __init__
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function load
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def load(fp, encoding=None, cls=None, object_hook=None, parse_float=None,
Function loads
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def loads(s, encoding=None, cls=None, object_hook=None, parse_float=None,
Function __init__
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, skipkeys=False, ensure_ascii=True,
Function __init__
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, count=1, trace=1, countfuncs=0, countcallers=0,
Function formatargvalues
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def formatargvalues(args, varargs, varkw, locals,
Function formatargspec
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def formatargspec(args, varargs=None, varkw=None, defaults=None,
Function makeRecord
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def makeRecord(self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None):
Function make_archive
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
Function __init__
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, prec=None, rounding=None,
Method Backward
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
int Backward(int cur)
{
_optimumEndIndex = cur;
int posMem = _optimum[cur].PosPrev;
int backMem = _optimum[cur].BackPrev;
Function __init__
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def __init__(self, PeFile):
self.FileName = PeFile
self.IsValid = False
self.Size = 0
self.EntryPoint = 0
Function __init__
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def __init__(self):
self.AutoGenVersion = 0
self.DescFilePath = ''
self.BaseName = ''
self.ModuleType = ''
Function _Clear
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def _Clear(self):
self._Header = None
self._PlatformName = None
self._Guid = None
self._Version = None
Function MyOptionParser
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def MyOptionParser():
Parser = OptionParser(description=__copyright__,version=__version__,prog="build.exe",usage="%prog [options] [all|fds|genc|genmake|clean|cleanall|cleanlib|modules|libraries|run]")
Parser.add_option("-a", "--arch", action="append", type="choice", choices=['IA32','X64','IPF','EBC','ARM', 'AARCH64'], dest="TargetArch",
help="ARCHS is one of list: IA32, X64, IPF, ARM, AARCH64 or EBC, which overrides target.txt's TARGET_ARCH definition. To specify more archs, please repeat this option.")
Parser.add_option("-p", "--platform", action="callback", type="string", dest="PlatformFile", callback=SingleCheckCallback,
Function InitDatabase
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def InitDatabase(self, NewDatabase = True):
EdkLogger.verbose("\nInitialize ECC database started ...")
#
# Drop all old existing tables
#
Function PrintFragments
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def PrintFragments(self):
print '################# ' + self.FileName + '#####################'
print '/****************************************/'
Function __init__
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def __init__(self):
IdentificationClass.__init__(self)
CommonHeaderClass.__init__(self)
DefineClass.__init__(self)
self.ModuleType = ''
Function main
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def main(self):
rounds = self.values['-n']
reportfile = self.values['-f']
show_bench = self.values['-s']