hackedteam/vector-edk

View on GitHub

Showing 9,525 of 13,510 total issues

Function copy_file has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

def copy_file(src, dst, preserve_mode=1, preserve_times=1, update=0,
Severity: Major
Found in AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/file_util.py - About 1 hr to fix

    Function compile has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def compile(self, sources,

      Function compile has 8 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def compile(self, sources,

        Function copy_tree has 8 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def copy_tree(src, dst, preserve_mode=1, preserve_times=1,
        Severity: Major
        Found in AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/dir_util.py - About 1 hr to fix

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

              def __init__(self, decorators, name, argnames, defaults, flags, doc, code, lineno=None):
          Severity: Major
          Found in AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ast.py - About 1 hr to fix

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

                def __init__(self, name, level, pathname, lineno,
            Severity: Major
            Found in AppPkg/Applications/Python/Python-2.7.2/Lib/logging/__init__.py - About 1 hr to fix

              Function _make_tarball has 8 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
              Severity: Major
              Found in AppPkg/Applications/Python/Python-2.7.2/Lib/shutil.py - About 1 hr to fix

                Consider simplifying this complex logical expression.
                Open

                         if   (Tag0 == 0xED) or (Tag0 == 0xE1):  # guid
                            GuidId, guid0, guid1, guid2, guid3 = struct.unpack(GUID_RECORD, value)
                            g = guid_str(guid0, guid1, guid2, guid3)
                            guid_map[GuidId] = g
                         elif (Tag0 == 0xEE) or (Tag0 == 0xE2):  # var name
                Severity: Major
                Found in vector-uefi/fd/tool/chipsec/hal/uefi_platform.py - About 1 hr to fix

                  Function send_SW_SMI has 8 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      def send_SW_SMI( self, SMI_code_port_value, SMI_data_port_value, _rax, _rbx, _rcx, _rdx, _rsi, _rdi ):
                  Severity: Major
                  Found in vector-uefi/fd/tool/chipsec/hal/interrupts.py - About 1 hr to fix

                    Function parse_uefi_section has 8 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def parse_uefi_section( _uefi, data, Size, offset, polarity, parent_offset, parent_path, decode_log_path ):
                    Severity: Major
                    Found in vector-uefi/fd/tool/chipsec/hal/spi_uefi.py - About 1 hr to fix

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

                          def __init__(self, name, classname, pTime=None, stdout=None, stderr=None, tcType=None, message=None, output=None):
                      Severity: Major
                      Found in vector-uefi/fd/tool/chipsec/xmlout.py - About 1 hr to fix

                        Function section has 8 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            def section(self, title, fgcol, bgcol, contents, width=6,
                        Severity: Major
                        Found in vector-uefi/fd/efi/StdLib/lib/python.27/pydoc.py - About 1 hr to fix

                          Function docroutine has 8 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def docroutine(self, object, name=None, mod=None,
                          Severity: Major
                          Found in vector-uefi/fd/efi/StdLib/lib/python.27/pydoc.py - About 1 hr to fix

                            Function context_diff has 8 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            def context_diff(a, b, fromfile='', tofile='',
                            Severity: Major
                            Found in vector-uefi/fd/efi/StdLib/lib/python.27/difflib.py - About 1 hr to fix

                              Consider simplifying this complex logical expression.
                              Open

                                  if symbol:
                                      smb = conv[international and 'int_curr_symbol' or 'currency_symbol']
                                      precedes = conv[val<0 and 'n_cs_precedes' or 'p_cs_precedes']
                                      separated = conv[val<0 and 'n_sep_by_space' or 'p_sep_by_space']
                              
                              Severity: Major
                              Found in vector-uefi/fd/efi/StdLib/lib/python.27/locale.py - About 1 hr to fix

                                Function unified_diff has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                def unified_diff(a, b, fromfile='', tofile='', fromfiledate='',
                                Severity: Major
                                Found in vector-uefi/fd/efi/StdLib/lib/python.27/difflib.py - About 1 hr to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                          if ((msg is None or msg.match(text)) and
                                              issubclass(category, cat) and
                                              (mod is None or mod.match(module)) and
                                              (ln == 0 or lineno == ln)):
                                              break
                                  Severity: Major
                                  Found in vector-uefi/fd/efi/StdLib/lib/python.27/warnings.py - About 1 hr to fix

                                    Function JSONObject has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    def JSONObject(s_and_end, encoding, strict, scan_once, object_hook,
                                    Severity: Major
                                    Found in vector-uefi/fd/efi/StdLib/lib/python.27/json/decoder.py - About 1 hr to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                                  if (not all(c.isalnum() or c=='_' for c in name) or _iskeyword(name)
                                                      or not name or name[0].isdigit() or name.startswith('_')
                                                      or name in seen):
                                                      names[i] = '_%d' % i
                                                  seen.add(name)
                                      Severity: Major
                                      Found in vector-uefi/fd/efi/StdLib/lib/python.27/collections.py - About 1 hr to fix

                                        Function compile has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            def compile(self, sources, output_dir=None, macros=None,
                                        Severity: Major
                                        Found in vector-uefi/fd/efi/StdLib/lib/python.27/distutils/ccompiler.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language