hackedteam/vector-edk

View on GitHub

Showing 9,525 of 13,510 total issues

Consider simplifying this complex logical expression.
Open

                if (LA96_0 == 25) :
                    alt96 = 1
                elif ((IDENTIFIER <= LA96_0 <= FLOATING_POINT_LITERAL) or LA96_0 == 62 or LA96_0 == 66 or (68 <= LA96_0 <= 69) or (72 <= LA96_0 <= 74) or (77 <= LA96_0 <= 79)) :
                    alt96 = 2
                else:
Severity: Major
Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

    Consider simplifying this complex logical expression.
    Open

                        if LA74 == 62:
                            LA74_268 = self.input.LA(3)
    
                            if (self.synpred142()) :
                                alt74 = 1
    Severity: Major
    Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

      Consider simplifying this complex logical expression.
      Open

                              if LA95 == IDENTIFIER:
                                  LA95_271 = self.input.LA(3)
      
                                  if (self.synpred188()) :
                                      alt95 = 1
      Severity: Major
      Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

        Consider simplifying this complex logical expression.
        Open

                        if LA67 == IDENTIFIER:
                            LA67_1 = self.input.LA(2)
        
                            if (LA67_1 == EOF or LA67_1 == 25 or (27 <= LA67_1 <= 28) or LA67_1 == 44 or LA67_1 == 47 or LA67_1 == 53 or (62 <= LA67_1 <= 66) or (68 <= LA67_1 <= 73) or (75 <= LA67_1 <= 77) or (80 <= LA67_1 <= 102)) :
                                alt67 = 1
        Severity: Major
        Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

          Consider simplifying this complex logical expression.
          Open

                              if LA90 == 62:
                                  LA90_281 = self.input.LA(3)
          
                                  if (self.synpred182()) :
                                      alt90 = 1
          Severity: Major
          Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

            Consider simplifying this complex logical expression.
            Open

                                if LA74 == IDENTIFIER:
                                    LA74_244 = self.input.LA(3)
            
                                    if (self.synpred142()) :
                                        alt74 = 1
            Severity: Major
            Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

              Consider simplifying this complex logical expression.
              Open

                                  if LA90 == IDENTIFIER:
                                      LA90_257 = self.input.LA(3)
              
                                      if (self.synpred182()) :
                                          alt90 = 1
              Severity: Major
              Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                Consider simplifying this complex logical expression.
                Open

                                    if LA90 == IDENTIFIER:
                                        LA90_269 = self.input.LA(3)
                
                                        if (self.synpred182()) :
                                            alt90 = 1
                Severity: Major
                Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                  Consider simplifying this complex logical expression.
                  Open

                                      if LA74 == IDENTIFIER:
                                          LA74_256 = self.input.LA(3)
                  
                                          if (self.synpred142()) :
                                              alt74 = 1
                  Severity: Major
                  Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                    Consider simplifying this complex logical expression.
                    Open

                                        if LA74 == 62:
                                            LA74_280 = self.input.LA(3)
                    
                                            if (self.synpred142()) :
                                                alt74 = 1
                    Severity: Major
                    Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                      Consider simplifying this complex logical expression.
                      Open

                                              if LA95 == 62:
                                                  LA95_283 = self.input.LA(3)
                      
                                                  if (self.synpred188()) :
                                                      alt95 = 1
                      Severity: Major
                      Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                        Consider simplifying this complex logical expression.
                        Open

                                        if LA74 == IDENTIFIER:
                                            LA74 = self.input.LA(2)
                                            if LA74 == 64:
                                                LA74_13 = self.input.LA(3)
                        
                        Severity: Major
                        Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                          Consider simplifying this complex logical expression.
                          Open

                                                  if LA95 == 62:
                                                      LA95_295 = self.input.LA(3)
                          
                                                      if (self.synpred188()) :
                                                          alt95 = 1
                          Severity: Major
                          Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                            Consider simplifying this complex logical expression.
                            Open

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

                              Consider simplifying this complex logical expression.
                              Open

                                                  if (LA101_4 == 25) :
                                                      alt101 = 4
                                                  elif ((IDENTIFIER <= LA101_4 <= FLOATING_POINT_LITERAL) or LA101_4 == 62 or LA101_4 == 66 or (68 <= LA101_4 <= 69) or (72 <= LA101_4 <= 74) or (77 <= LA101_4 <= 79)) :
                                                      alt101 = 5
                                                  else:
                              Severity: Major
                              Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                                Consider simplifying this complex logical expression.
                                Open

                                                        if LA95 == IDENTIFIER:
                                                            LA95_259 = self.input.LA(3)
                                
                                                            if (self.synpred188()) :
                                                                alt95 = 1
                                Severity: Major
                                Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                                      if LA90 == 62:
                                                          LA90_293 = self.input.LA(3)
                                  
                                                          if (self.synpred182()) :
                                                              alt90 = 1
                                  Severity: Major
                                  Found in BaseTools/Source/Python/Ecc/CParser.py - About 40 mins to fix

                                    Consider simplifying this complex logical expression.
                                    Open

                                                                if LA31 == 65:
                                                                    LA31_51 = self.input.LA(3)
                                    
                                                                    if (self.synpred67()) :
                                                                        alt31 = 1
                                    Severity: Major
                                    Found in BaseTools/Source/Python/Eot/CParser.py - About 40 mins to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                                              if LA95 == 62:
                                                                  LA95_295 = self.input.LA(3)
                                      
                                                                  if (self.synpred188()) :
                                                                      alt95 = 1
                                      Severity: Major
                                      Found in BaseTools/Source/Python/Eot/CParser.py - About 40 mins to fix

                                        Consider simplifying this complex logical expression.
                                        Open

                                                                if (LA42_1 == 53) :
                                                                    LA42_3 = self.input.LA(3)
                                        
                                                                    if (self.synpred82()) :
                                                                        alt42 = 1
                                        Severity: Major
                                        Found in BaseTools/Source/Python/Eot/CParser.py - About 40 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language