Showing 9,525 of 13,510 total issues
Consider simplifying this complex logical expression. Open
Open
if self.user and (self.prefix or self.exec_prefix or self.home or
self.install_base or self.install_platbase):
raise DistutilsOptionError("can't combine user with with prefix/"
"exec_prefix/home or install_(plat)base")
Consider simplifying this complex logical expression. Open
Open
if ((self.install_lib is None and
self.install_purelib is None and
self.install_platlib is None) or
self.install_headers is None or
self.install_scripts is None or
Consider simplifying this complex logical expression. Open
Open
if isinstance(node, Str):
return node.s
elif isinstance(node, Num):
return node.n
elif isinstance(node, Tuple):
Consider simplifying this complex logical expression. Open
Open
if w1 == 'default':
default = 1
elif w1 == 'machine' and w2:
host = w2.lower()
i = i + 1
Method PrintResults
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int dictionarySize,
long elapsedTime,
long size,
boolean decompressMode, long secondSize)
Method ReverseEncode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void ReverseEncode(short[] Models, int startIndex,
Encoder rangeEncoder, int NumBitLevels, int symbol) throws IOException
Method Code
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void Code(java.io.InputStream inStream, java.io.OutputStream outStream,
long inSize, long outSize, ICodeProgress progress) throws IOException
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, Filename=None, IsToDatabase=False, IsToPlatform=False, WorkspaceDir=None, Database=None):
Function PatchBinaryFile
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def PatchBinaryFile(FileName, ValueOffset, TypeName, ValueString, MaxSize=0):
Function RaiseParserError
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def RaiseParserError(Line, Section, File, Format='', LineNo= -1):
Function FindPcd
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def FindPcd(self, Arch, ModuleName, Name, Guid, Type):
Function warn
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def warn(ToolName, Message, File=None, Line=None, ExtraData=None):
Function ValidateCopyright
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def ValidateCopyright(Result, ErrType, FileName, LineNo, ErrMsg):
Function ToXml
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def ToXml(self, Header, BootModes, Events, Hobs, Key):
Function _AddDp
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _AddDp(self, Guid, Version, NewDpFileName, DistributionFileName, \
Function Warn
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def Warn(ToolName, Message, File=None, Line=None, ExtraData=None):
Function ParseComment
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def ParseComment (Comment, UsageTokens, TypeTokens, RemoveTokens, ParseVariable):
Function RaiseParserError
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def RaiseParserError(Line, Section, File, Format='', LineNo=-1):
Function _AddPackage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _AddPackage(self, Guid, Version, DpGuid=None, DpVersion=None, Path=''):
Function CheckModuleExists
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def CheckModuleExists(self, Guid, Version, Name, Path, ReturnCode=DEPEX_CHECK_SUCCESS):