hackedteam/vector-edk

View on GitHub

Showing 9,525 of 13,510 total issues

Consider simplifying this complex logical expression.
Open

                        if ((IDENTIFIER <= LA57_1 <= FLOATING_POINT_LITERAL) or LA57_1 == 43 or LA57_1 == 62 or LA57_1 == 66 or (68 <= LA57_1 <= 69) or (72 <= LA57_1 <= 74) or (77 <= LA57_1 <= 79)) :
                            alt57 = 1
Severity: Major
Found in BaseTools/Source/Python/Ecc/CParser.py - About 1 hr to fix

    Consider simplifying this complex logical expression.
    Open

                            if (LA23_2 == 43) :
                                alt23 = 2
                            elif (LA23_2 == EOF or LA23_2 == IDENTIFIER or LA23_2 == 25 or LA23_2 == 27 or (29 <= LA23_2 <= 42) or (45 <= LA23_2 <= 64) or LA23_2 == 66) :
                                alt23 = 3
                            else:
    Severity: Major
    Found in BaseTools/Source/Python/Ecc/CParser.py - About 1 hr to fix

      Consider simplifying this complex logical expression.
      Open

                              if (LA15_2 == 43) :
                                  alt15 = 1
                              elif (LA15_2 == EOF or LA15_2 == IDENTIFIER or LA15_2 == 25 or LA15_2 == 27 or (29 <= LA15_2 <= 42) or (45 <= LA15_2 <= 64) or LA15_2 == 66) :
                                  alt15 = 2
                              else:
      Severity: Major
      Found in BaseTools/Source/Python/Eot/CParser.py - About 1 hr to fix

        Consider simplifying this complex logical expression.
        Open

                                if (LA23_2 == 43) :
                                    alt23 = 2
                                elif (LA23_2 == EOF or LA23_2 == IDENTIFIER or LA23_2 == 25 or LA23_2 == 27 or (29 <= LA23_2 <= 42) or (45 <= LA23_2 <= 64) or LA23_2 == 66) :
                                    alt23 = 3
                                else:
        Severity: Major
        Found in BaseTools/Source/Python/Eot/CParser.py - About 1 hr to fix

          Consider simplifying this complex logical expression.
          Open

                                  if ((IDENTIFIER <= LA57_1 <= FLOATING_POINT_LITERAL) or LA57_1 == 43 or LA57_1 == 62 or LA57_1 == 66 or (68 <= LA57_1 <= 69) or (72 <= LA57_1 <= 74) or (77 <= LA57_1 <= 79)) :
                                      alt57 = 1
          
          Severity: Major
          Found in BaseTools/Source/Python/Eot/CParser.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 AppPkg/Applications/Python/PyMod-2.7.2/Lib/pydoc.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 AppPkg/Applications/Python/PyMod-2.7.2/Lib/pydoc.py - About 1 hr to fix

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

                    def pushbutton(self, name, x, y, w, h, attr, text, next):
                Severity: Major
                Found in AppPkg/Applications/Python/Python-2.7.2/Tools/msi/msilib.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 AppPkg/Applications/Python/Python-2.7.2/Lib/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 AppPkg/Applications/Python/Python-2.7.2/Lib/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 AppPkg/Applications/Python/Python-2.7.2/Lib/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 AppPkg/Applications/Python/Python-2.7.2/Lib/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 AppPkg/Applications/Python/Python-2.7.2/Lib/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 AppPkg/Applications/Python/Python-2.7.2/Lib/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 AppPkg/Applications/Python/Python-2.7.2/Lib/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 AppPkg/Applications/Python/Python-2.7.2/Lib/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 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ccompiler.py - About 1 hr to fix

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

                                        def compile(self, sources,

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

                                      def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,

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

                                        def byte_compile (py_files,
                                        Severity: Major
                                        Found in AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/util.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language