hackedteam/vector-edk

View on GitHub

Showing 9,525 of 13,510 total issues

Function testmod has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

def testmod(m=None, name=None, globs=None, verbose=None,
Severity: Major
Found in vector-uefi/fd/efi/StdLib/lib/python.27/doctest.py - About 1 hr to fix

    Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def __init__(self,
    Severity: Major
    Found in vector-uefi/fd/efi/StdLib/lib/python.27/textwrap.py - About 1 hr to fix

      Function load has 9 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def load(fp, encoding=None, cls=None, object_hook=None, parse_float=None,
      Severity: Major
      Found in vector-uefi/fd/efi/StdLib/lib/python.27/json/__init__.py - About 1 hr to fix

        Function loads has 9 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def loads(s, encoding=None, cls=None, object_hook=None, parse_float=None,
        Severity: Major
        Found in vector-uefi/fd/efi/StdLib/lib/python.27/json/__init__.py - About 1 hr to fix

          Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def __init__(self, skipkeys=False, ensure_ascii=True,
          Severity: Major
          Found in vector-uefi/fd/efi/StdLib/lib/python.27/json/encoder.py - About 1 hr to fix

            Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def __init__(self, count=1, trace=1, countfuncs=0, countcallers=0,
            Severity: Major
            Found in vector-uefi/fd/efi/StdLib/lib/python.27/trace.py - About 1 hr to fix

              Function formatargvalues has 9 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def formatargvalues(args, varargs, varkw, locals,
              Severity: Major
              Found in vector-uefi/fd/efi/StdLib/lib/python.27/inspect.py - About 1 hr to fix

                Function formatargspec has 9 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                def formatargspec(args, varargs=None, varkw=None, defaults=None,
                Severity: Major
                Found in vector-uefi/fd/efi/StdLib/lib/python.27/inspect.py - About 1 hr to fix

                  Function makeRecord has 9 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      def makeRecord(self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None):
                  Severity: Major
                  Found in vector-uefi/fd/efi/StdLib/lib/python.27/logging/__init__.py - About 1 hr to fix

                    Function make_archive has 9 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
                    Severity: Major
                    Found in vector-uefi/fd/efi/StdLib/lib/python.27/shutil.py - About 1 hr to fix

                      Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def __init__(self, prec=None, rounding=None,
                      Severity: Major
                      Found in vector-uefi/fd/efi/StdLib/lib/python.27/decimal.py - About 1 hr to fix

                        Method Backward has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            int Backward(int cur)
                            {
                                _optimumEndIndex = cur;
                                int posMem = _optimum[cur].PosPrev;
                                int backMem = _optimum[cur].BackPrev;
                        Severity: Minor
                        Found in vector-uefi/insyde/7zip/Java/SevenZip/Compression/LZMA/Encoder.java - About 1 hr to fix

                          Function __init__ has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              def __init__(self, PeFile):
                                  self.FileName   = PeFile
                                  self.IsValid    = False
                                  self.Size       = 0
                                  self.EntryPoint = 0
                          Severity: Minor
                          Found in BaseTools/Source/Python/Common/Misc.py - About 1 hr to fix

                            Function __init__ has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                def __init__(self):
                                    self.AutoGenVersion          = 0
                                    self.DescFilePath            = ''
                                    self.BaseName                = ''
                                    self.ModuleType              = ''
                            Severity: Minor
                            Found in BaseTools/Source/Python/Common/EdkIIWorkspaceBuild.py - About 1 hr to fix

                              Function _Clear has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  def _Clear(self):
                                      self._Header            = None
                                      self._PlatformName      = None
                                      self._Guid              = None
                                      self._Version           = None
                              Severity: Minor
                              Found in BaseTools/Source/Python/Workspace/WorkspaceDatabase.py - About 1 hr to fix

                                Function MyOptionParser has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                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,
                                Severity: Minor
                                Found in BaseTools/Source/Python/build/build.py - About 1 hr to fix

                                  Function InitDatabase has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      def InitDatabase(self, NewDatabase = True):
                                          EdkLogger.verbose("\nInitialize ECC database started ...")
                                          #
                                          # Drop all old existing tables
                                          #
                                  Severity: Minor
                                  Found in BaseTools/Source/Python/Ecc/Database.py - About 1 hr to fix

                                    Function PrintFragments has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        def PrintFragments(self):
                                    
                                            print '################# ' + self.FileName + '#####################'
                                    
                                            print '/****************************************/'
                                    Severity: Minor
                                    Found in BaseTools/Source/Python/Eot/CodeFragmentCollector.py - About 1 hr to fix

                                      Function __init__ has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          def __init__(self):
                                              IdentificationClass.__init__(self)
                                              CommonHeaderClass.__init__(self)
                                              DefineClass.__init__(self)
                                              self.ModuleType = ''
                                      Severity: Minor
                                      Found in BaseTools/Source/Python/CommonDataClass/ModuleClass.py - About 1 hr to fix

                                        Function main has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            def main(self):
                                        
                                                rounds = self.values['-n']
                                                reportfile = self.values['-f']
                                                show_bench = self.values['-s']
                                        Severity: Minor
                                        Found in AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/pybench.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language