zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java

Summary

Maintainability
F
2 mos
Test Coverage

File ELParser.java has 2789 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* Generated By:JJTree&JavaCC: Do not edit this line. ELParser.java */
package org.zkoss.zel.impl.parser;
import java.io.StringReader;

import org.zkoss.zel.ELException;
Severity: Major
Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 wk to fix

    Method Compare has a Cognitive Complexity of 174 (exceeds 5 allowed). Consider refactoring.
    Open

      final public void Compare() throws ParseException {
        Concatenation();
        label_10:
        while (true) {
          switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    Severity: Minor
    Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 3 days to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    ELParser has 160 methods (exceeds 20 allowed). Consider refactoring.
    Open

    @SuppressWarnings("all") // Ignore warnings in generated code
    public class ELParser/*@bgen(jjtree)*/implements ELParserTreeConstants, ELParserConstants {/*@bgen(jjtree)*/
      protected JJTELParserState jjtree = new JJTELParserState();
        public static Node parse(String ref) throws ELException {
            try {
    Severity: Major
    Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 3 days to fix

      Method Multiplication has a Cognitive Complexity of 127 (exceeds 5 allowed). Consider refactoring.
      Open

        final public void Multiplication() throws ParseException {
          Unary();
          label_13:
          while (true) {
            switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      Severity: Minor
      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 days to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Method Equality has a Cognitive Complexity of 94 (exceeds 5 allowed). Consider refactoring.
      Open

        final public void Equality() throws ParseException {
          Compare();
          label_9:
          while (true) {
            switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      Severity: Minor
      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 day to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Method Unary has a Cognitive Complexity of 86 (exceeds 5 allowed). Consider refactoring.
      Open

        final public void Unary() throws ParseException {
          switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
          case MINUS:
            jj_consume_token(MINUS);
                        AstNegative jjtn001 = new AstNegative(JJTNEGATIVE);
      Severity: Minor
      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 day to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Method Math has a Cognitive Complexity of 80 (exceeds 5 allowed). Consider refactoring.
      Open

        final public void Math() throws ParseException {
          Multiplication();
          label_12:
          while (true) {
            switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      Severity: Minor
      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 day to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Method Assignment has a Cognitive Complexity of 62 (exceeds 5 allowed). Consider refactoring.
      Open

        final public void Assignment() throws ParseException {
          if (jj_2_2(4)) {
            LambdaExpression();
          } else {
            switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      Severity: Minor
      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 day to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Method Compare has 181 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        final public void Compare() throws ParseException {
          Concatenation();
          label_10:
          while (true) {
            switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      Severity: Major
      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 7 hrs to fix

        Method LambdaParameters has a Cognitive Complexity of 42 (exceeds 5 allowed). Consider refactoring.
        Open

          final public void LambdaParameters() throws ParseException {
                                                     /*@bgen(jjtree) LambdaParameters */
          AstLambdaParameters jjtn000 = new AstLambdaParameters(JJTLAMBDAPARAMETERS);
          boolean jjtc000 = true;
          jjtree.openNodeScope(jjtn000);
        Severity: Minor
        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 6 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Method And has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring.
        Open

          final public void And() throws ParseException {
            Equality();
            label_8:
            while (true) {
              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        Severity: Minor
        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 5 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Method Or has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring.
        Open

          final public void Or() throws ParseException {
            And();
            label_7:
            while (true) {
              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        Severity: Minor
        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 5 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Method NonLiteral has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring.
        Open

          final public void NonLiteral() throws ParseException {
            if (jj_2_6(5)) {
              LambdaExpressionOrInvocation();
            } else {
              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        Severity: Minor
        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 5 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Method Choice has a Cognitive Complexity of 34 (exceeds 5 allowed). Consider refactoring.
        Open

          final public void Choice() throws ParseException {
            Or();
            label_6:
            while (true) {
              if (jj_2_5(3)) {
        Severity: Minor
        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 5 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Method Semicolon has a Cognitive Complexity of 34 (exceeds 5 allowed). Consider refactoring.
        Open

          final public void Semicolon() throws ParseException {
            Assignment();
            label_2:
            while (true) {
              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        Severity: Minor
        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 5 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Method Concatenation has a Cognitive Complexity of 34 (exceeds 5 allowed). Consider refactoring.
        Open

          final public void Concatenation() throws ParseException {
            Math();
            label_11:
            while (true) {
              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        Severity: Minor
        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 5 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Method Multiplication has 127 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          final public void Multiplication() throws ParseException {
            Unary();
            label_13:
            while (true) {
              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        Severity: Major
        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 5 hrs to fix

          Method LambdaExpressionOrInvocation has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring.
          Open

            final public void LambdaExpressionOrInvocation() throws ParseException {
                                                                   /*@bgen(jjtree) LambdaExpression */
            AstLambdaExpression jjtn000 = new AstLambdaExpression(JJTLAMBDAEXPRESSION);
            boolean jjtc000 = true;
            jjtree.openNodeScope(jjtn000);
          Severity: Minor
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Method ListData has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring.
          Open

            final public void ListData() throws ParseException {
                                      /*@bgen(jjtree) ListData */
            AstListData jjtn000 = new AstListData(JJTLISTDATA);
            boolean jjtc000 = true;
            jjtree.openNodeScope(jjtn000);
          Severity: Minor
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Method SetData has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring.
          Open

            final public void SetData() throws ParseException {
                                    /*@bgen(jjtree) SetData */
            AstSetData jjtn000 = new AstSetData(JJTSETDATA);
            boolean jjtc000 = true;
            jjtree.openNodeScope(jjtn000);
          Severity: Minor
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Method MethodParameters has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring.
          Open

            final public void MethodParameters() throws ParseException {
                                                       /*@bgen(jjtree) MethodParameters */
            AstMethodParameters jjtn000 = new AstMethodParameters(JJTMETHODPARAMETERS);
            boolean jjtc000 = true;
            jjtree.openNodeScope(jjtn000);
          Severity: Minor
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Method MapData has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring.
          Open

            final public void MapData() throws ParseException {
                                    /*@bgen(jjtree) MapData */
            AstMapData jjtn000 = new AstMapData(JJTMAPDATA);
            boolean jjtc000 = true;
            jjtree.openNodeScope(jjtn000);
          Severity: Minor
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Method CompositeExpression has a Cognitive Complexity of 32 (exceeds 5 allowed). Consider refactoring.
          Open

            final public AstCompositeExpression CompositeExpression() throws ParseException {
                                                                               /*@bgen(jjtree) CompositeExpression */
            AstCompositeExpression jjtn000 = new AstCompositeExpression(JJTCOMPOSITEEXPRESSION);
            boolean jjtc000 = true;
            jjtree.openNodeScope(jjtn000);
          Severity: Minor
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Method jj_add_error_token has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring.
          Open

            private void jj_add_error_token(int kind, int pos) {
              if (pos >= 100) return;
              if (pos == jj_endpos + 1) {
                jj_lasttokens[jj_endpos++] = kind;
              } else if (jj_endpos != 0) {
          Severity: Minor
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Method Function has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring.
          Open

            final public void Function() throws ParseException {
           /*@bgen(jjtree) Function */
              AstFunction jjtn000 = new AstFunction(JJTFUNCTION);
              boolean jjtc000 = true;
              jjtree.openNodeScope(jjtn000);Token t0 = null;
          Severity: Minor
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Method Unary has 111 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            final public void Unary() throws ParseException {
              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
              case MINUS:
                jj_consume_token(MINUS);
                            AstNegative jjtn001 = new AstNegative(JJTNEGATIVE);
          Severity: Major
          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

            Method jj_3R_77 has a Cognitive Complexity of 28 (exceeds 5 allowed). Consider refactoring.
            Open

              private boolean jj_3R_77() {
                Token xsp;
                xsp = jj_scanpos;
                if (jj_3_6()) {
                jj_scanpos = xsp;
            Severity: Minor
            Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 4 hrs to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Method Equality has 99 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              final public void Equality() throws ParseException {
                Compare();
                label_9:
                while (true) {
                  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
            Severity: Major
            Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 3 hrs to fix

              Method Value has a Cognitive Complexity of 26 (exceeds 5 allowed). Consider refactoring.
              Open

                final public void Value() throws ParseException {
                    AstValue jjtn001 = new AstValue(JJTVALUE);
                    boolean jjtc001 = true;
                    jjtree.openNodeScope(jjtn001);
                  try {
              Severity: Minor
              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 3 hrs to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Method LambdaExpression has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring.
              Open

                final public void LambdaExpression() throws ParseException {
                                                           /*@bgen(jjtree) LambdaExpression */
                AstLambdaExpression jjtn000 = new AstLambdaExpression(JJTLAMBDAEXPRESSION);
                boolean jjtc000 = true;
                jjtree.openNodeScope(jjtn000);
              Severity: Minor
              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 3 hrs to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Method Math has 73 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                final public void Math() throws ParseException {
                  Multiplication();
                  label_12:
                  while (true) {
                    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
              Severity: Major
              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                Method LambdaExpressionOrInvocation has 65 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  final public void LambdaExpressionOrInvocation() throws ParseException {
                                                                         /*@bgen(jjtree) LambdaExpression */
                  AstLambdaExpression jjtn000 = new AstLambdaExpression(JJTLAMBDAEXPRESSION);
                  boolean jjtc000 = true;
                  jjtree.openNodeScope(jjtn000);
                Severity: Major
                Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                  Method generateParseException has a Cognitive Complexity of 19 (exceeds 5 allowed). Consider refactoring.
                  Open

                    public ParseException generateParseException() {
                      jj_expentries.clear();
                      boolean[] la1tokens = new boolean[62];
                      if (jj_kind >= 0) {
                        la1tokens[jj_kind] = true;
                  Severity: Minor
                  Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Method MapData has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    final public void MapData() throws ParseException {
                                            /*@bgen(jjtree) MapData */
                    AstMapData jjtn000 = new AstMapData(JJTMAPDATA);
                    boolean jjtc000 = true;
                    jjtree.openNodeScope(jjtn000);
                  Severity: Major
                  Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                    Method ListData has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      final public void ListData() throws ParseException {
                                                /*@bgen(jjtree) ListData */
                      AstListData jjtn000 = new AstListData(JJTLISTDATA);
                      boolean jjtc000 = true;
                      jjtree.openNodeScope(jjtn000);
                    Severity: Major
                    Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                      Method SetData has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        final public void SetData() throws ParseException {
                                                /*@bgen(jjtree) SetData */
                        AstSetData jjtn000 = new AstSetData(JJTSETDATA);
                        boolean jjtc000 = true;
                        jjtree.openNodeScope(jjtn000);
                      Severity: Major
                      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                        Method MethodParameters has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          final public void MethodParameters() throws ParseException {
                                                                     /*@bgen(jjtree) MethodParameters */
                          AstMethodParameters jjtn000 = new AstMethodParameters(JJTMETHODPARAMETERS);
                          boolean jjtc000 = true;
                          jjtree.openNodeScope(jjtn000);
                        Severity: Major
                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                          Method Assignment has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            final public void Assignment() throws ParseException {
                              if (jj_2_2(4)) {
                                LambdaExpression();
                              } else {
                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                          Severity: Major
                          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                            Method LambdaParameters has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              final public void LambdaParameters() throws ParseException {
                                                                         /*@bgen(jjtree) LambdaParameters */
                              AstLambdaParameters jjtn000 = new AstLambdaParameters(JJTLAMBDAPARAMETERS);
                              boolean jjtc000 = true;
                              jjtree.openNodeScope(jjtn000);
                            Severity: Major
                            Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                              Method DynamicExpression has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
                              Open

                                final public void DynamicExpression() throws ParseException {
                                                                             /*@bgen(jjtree) DynamicExpression */
                                AstDynamicExpression jjtn000 = new AstDynamicExpression(JJTDYNAMICEXPRESSION);
                                boolean jjtc000 = true;
                                jjtree.openNodeScope(jjtn000);
                              Severity: Minor
                              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                              Cognitive Complexity

                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                              A method's cognitive complexity is based on a few simple rules:

                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                              • Code is considered more complex for each "break in the linear flow of the code"
                              • Code is considered more complex when "flow breaking structures are nested"

                              Further reading

                              Method DeferredExpression has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
                              Open

                                final public void DeferredExpression() throws ParseException {
                                                                               /*@bgen(jjtree) DeferredExpression */
                                AstDeferredExpression jjtn000 = new AstDeferredExpression(JJTDEFERREDEXPRESSION);
                                boolean jjtc000 = true;
                                jjtree.openNodeScope(jjtn000);
                              Severity: Minor
                              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                              Cognitive Complexity

                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                              A method's cognitive complexity is based on a few simple rules:

                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                              • Code is considered more complex for each "break in the linear flow of the code"
                              • Code is considered more complex when "flow breaking structures are nested"

                              Further reading

                              Method MapEntry has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
                              Open

                                final public void MapEntry() throws ParseException {
                                                          /*@bgen(jjtree) MapEntry */
                                AstMapEntry jjtn000 = new AstMapEntry(JJTMAPENTRY);
                                boolean jjtc000 = true;
                                jjtree.openNodeScope(jjtn000);
                              Severity: Minor
                              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                              Cognitive Complexity

                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                              A method's cognitive complexity is based on a few simple rules:

                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                              • Code is considered more complex for each "break in the linear flow of the code"
                              • Code is considered more complex when "flow breaking structures are nested"

                              Further reading

                              Method BracketSuffix has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
                              Open

                                final public void BracketSuffix() throws ParseException {
                                                                     /*@bgen(jjtree) BracketSuffix */
                                AstBracketSuffix jjtn000 = new AstBracketSuffix(JJTBRACKETSUFFIX);
                                boolean jjtc000 = true;
                                jjtree.openNodeScope(jjtn000);
                              Severity: Minor
                              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                              Cognitive Complexity

                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                              A method's cognitive complexity is based on a few simple rules:

                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                              • Code is considered more complex for each "break in the linear flow of the code"
                              • Code is considered more complex when "flow breaking structures are nested"

                              Further reading

                              Method CompositeExpression has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                final public AstCompositeExpression CompositeExpression() throws ParseException {
                                                                                                   /*@bgen(jjtree) CompositeExpression */
                                AstCompositeExpression jjtn000 = new AstCompositeExpression(JJTCOMPOSITEEXPRESSION);
                                boolean jjtc000 = true;
                                jjtree.openNodeScope(jjtn000);
                              Severity: Major
                              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                                Method jj_consume_token has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
                                Open

                                  private Token jj_consume_token(int kind) throws ParseException {
                                    Token oldToken;
                                    if ((oldToken = token).next != null) token = token.next;
                                    else token = token.next = token_source.getNextToken();
                                    jj_ntk = -1;
                                Severity: Minor
                                Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                                Cognitive Complexity

                                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                A method's cognitive complexity is based on a few simple rules:

                                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                • Code is considered more complex for each "break in the linear flow of the code"
                                • Code is considered more complex when "flow breaking structures are nested"

                                Further reading

                                Method Function has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                  final public void Function() throws ParseException {
                                 /*@bgen(jjtree) Function */
                                    AstFunction jjtn000 = new AstFunction(JJTFUNCTION);
                                    boolean jjtc000 = true;
                                    jjtree.openNodeScope(jjtn000);Token t0 = null;
                                Severity: Major
                                Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                                  Method LambdaExpression has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                    final public void LambdaExpression() throws ParseException {
                                                                               /*@bgen(jjtree) LambdaExpression */
                                    AstLambdaExpression jjtn000 = new AstLambdaExpression(JJTLAMBDAEXPRESSION);
                                    boolean jjtc000 = true;
                                    jjtree.openNodeScope(jjtn000);
                                  Severity: Major
                                  Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 2 hrs to fix

                                    Method And has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      final public void And() throws ParseException {
                                        Equality();
                                        label_8:
                                        while (true) {
                                          switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                    Severity: Minor
                                    Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                      Method Or has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        final public void Or() throws ParseException {
                                          And();
                                          label_7:
                                          while (true) {
                                            switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                      Severity: Minor
                                      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                        Method jj_3R_76 has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring.
                                        Open

                                          private boolean jj_3R_76() {
                                            Token xsp;
                                            xsp = jj_scanpos;
                                            if (jj_3R_80()) {
                                            jj_scanpos = xsp;
                                        Severity: Minor
                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                        Cognitive Complexity

                                        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                        A method's cognitive complexity is based on a few simple rules:

                                        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                        • Code is considered more complex for each "break in the linear flow of the code"
                                        • Code is considered more complex when "flow breaking structures are nested"

                                        Further reading

                                        Method jj_scan_token has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring.
                                        Open

                                          private boolean jj_scan_token(int kind) {
                                            if (jj_scanpos == jj_lastpos) {
                                              jj_la--;
                                              if (jj_scanpos.next == null) {
                                                jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
                                        Severity: Minor
                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                        Cognitive Complexity

                                        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                        A method's cognitive complexity is based on a few simple rules:

                                        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                        • Code is considered more complex for each "break in the linear flow of the code"
                                        • Code is considered more complex when "flow breaking structures are nested"

                                        Further reading

                                        Method NonLiteral has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          final public void NonLiteral() throws ParseException {
                                            if (jj_2_6(5)) {
                                              LambdaExpressionOrInvocation();
                                            } else {
                                              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                        Severity: Minor
                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                          Method Semicolon has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                          Open

                                            final public void Semicolon() throws ParseException {
                                              Assignment();
                                              label_2:
                                              while (true) {
                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                          Severity: Minor
                                          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                            Method Concatenation has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                            Open

                                              final public void Concatenation() throws ParseException {
                                                Math();
                                                label_11:
                                                while (true) {
                                                  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                            Severity: Minor
                                            Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                              Method Value has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                              Open

                                                final public void Value() throws ParseException {
                                                    AstValue jjtn001 = new AstValue(JJTVALUE);
                                                    boolean jjtc001 = true;
                                                    jjtree.openNodeScope(jjtn001);
                                                  try {
                                              Severity: Minor
                                              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                Method Choice has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                                Open

                                                  final public void Choice() throws ParseException {
                                                    Or();
                                                    label_6:
                                                    while (true) {
                                                      if (jj_2_5(3)) {
                                                Severity: Minor
                                                Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                  Method jj_rescan_token has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
                                                  Open

                                                    private void jj_rescan_token() {
                                                      jj_rescan = true;
                                                      for (int i = 0; i < 8; i++) {
                                                      try {
                                                        JJCalls p = jj_2_rtns[i];
                                                  Severity: Minor
                                                  Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                  Cognitive Complexity

                                                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                  A method's cognitive complexity is based on a few simple rules:

                                                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                  • Code is considered more complex for each "break in the linear flow of the code"
                                                  • Code is considered more complex when "flow breaking structures are nested"

                                                  Further reading

                                                  Method generateParseException has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                                  Open

                                                    public ParseException generateParseException() {
                                                      jj_expentries.clear();
                                                      boolean[] la1tokens = new boolean[62];
                                                      if (jj_kind >= 0) {
                                                        la1tokens[jj_kind] = true;
                                                  Severity: Minor
                                                  Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                    Method Boolean has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                    Open

                                                      final public void Boolean() throws ParseException {
                                                        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                        case TRUE:
                                                          AstTrue jjtn001 = new AstTrue(JJTTRUE);
                                                          boolean jjtc001 = true;
                                                    Severity: Minor
                                                    Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                      Method jj_3R_48 has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
                                                      Open

                                                        private boolean jj_3R_48() {
                                                          Token xsp;
                                                          xsp = jj_scanpos;
                                                          if (jj_3R_53()) {
                                                          jj_scanpos = xsp;
                                                      Severity: Minor
                                                      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                      Cognitive Complexity

                                                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                      A method's cognitive complexity is based on a few simple rules:

                                                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                      • Code is considered more complex for each "break in the linear flow of the code"
                                                      • Code is considered more complex when "flow breaking structures are nested"

                                                      Further reading

                                                      Method jj_3R_59 has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
                                                      Open

                                                        private boolean jj_3R_59() {
                                                          Token xsp;
                                                          xsp = jj_scanpos;
                                                          if (jj_3R_63()) {
                                                          jj_scanpos = xsp;
                                                      Severity: Minor
                                                      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                      Cognitive Complexity

                                                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                      A method's cognitive complexity is based on a few simple rules:

                                                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                      • Code is considered more complex for each "break in the linear flow of the code"
                                                      • Code is considered more complex when "flow breaking structures are nested"

                                                      Further reading

                                                      Method MapEntry has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                                      Open

                                                        final public void MapEntry() throws ParseException {
                                                                                  /*@bgen(jjtree) MapEntry */
                                                        AstMapEntry jjtn000 = new AstMapEntry(JJTMAPENTRY);
                                                        boolean jjtc000 = true;
                                                        jjtree.openNodeScope(jjtn000);
                                                      Severity: Minor
                                                      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                        Method BracketSuffix has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                                        Open

                                                          final public void BracketSuffix() throws ParseException {
                                                                                               /*@bgen(jjtree) BracketSuffix */
                                                          AstBracketSuffix jjtn000 = new AstBracketSuffix(JJTBRACKETSUFFIX);
                                                          boolean jjtc000 = true;
                                                          jjtree.openNodeScope(jjtn000);
                                                        Severity: Minor
                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                          Method DeferredExpression has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                                          Open

                                                            final public void DeferredExpression() throws ParseException {
                                                                                                           /*@bgen(jjtree) DeferredExpression */
                                                            AstDeferredExpression jjtn000 = new AstDeferredExpression(JJTDEFERREDEXPRESSION);
                                                            boolean jjtc000 = true;
                                                            jjtree.openNodeScope(jjtn000);
                                                          Severity: Minor
                                                          Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                            Method DynamicExpression has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                                            Open

                                                              final public void DynamicExpression() throws ParseException {
                                                                                                           /*@bgen(jjtree) DynamicExpression */
                                                              AstDynamicExpression jjtn000 = new AstDynamicExpression(JJTDYNAMICEXPRESSION);
                                                              boolean jjtc000 = true;
                                                              jjtree.openNodeScope(jjtn000);
                                                            Severity: Minor
                                                            Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 1 hr to fix

                                                              Avoid deeply nested control flow statements.
                                                              Open

                                                                  if (jj_3_8()) {
                                                                  jj_scanpos = xsp;
                                                                  if (jj_3R_88()) {
                                                                  jj_scanpos = xsp;
                                                                  if (jj_3R_89()) return true;
                                                              Severity: Major
                                                              Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 45 mins to fix

                                                                Avoid deeply nested control flow statements.
                                                                Open

                                                                            if (c.gen < jj_gen) c.first = null;
                                                                Severity: Major
                                                                Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 45 mins to fix

                                                                  Avoid deeply nested control flow statements.
                                                                  Open

                                                                      if (jj_3R_84()) return true;
                                                                  Severity: Major
                                                                  Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 45 mins to fix

                                                                    Method Boolean has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                                                                    Open

                                                                      final public void Boolean() throws ParseException {
                                                                        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                        case TRUE:
                                                                          AstTrue jjtn001 = new AstTrue(JJTTRUE);
                                                                          boolean jjtc001 = true;
                                                                    Severity: Minor
                                                                    Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 35 mins to fix

                                                                    Cognitive Complexity

                                                                    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                    A method's cognitive complexity is based on a few simple rules:

                                                                    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                    • Code is considered more complex for each "break in the linear flow of the code"
                                                                    • Code is considered more complex when "flow breaking structures are nested"

                                                                    Further reading

                                                                    Method jj_3R_23 has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                                                                    Open

                                                                      private boolean jj_3R_23() {
                                                                        if (jj_scan_token(LPAREN)) return true;
                                                                        if (jj_3R_27()) return true;
                                                                        if (jj_scan_token(ARROW)) return true;
                                                                        Token xsp;
                                                                    Severity: Minor
                                                                    Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 35 mins to fix

                                                                    Cognitive Complexity

                                                                    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                    A method's cognitive complexity is based on a few simple rules:

                                                                    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                    • Code is considered more complex for each "break in the linear flow of the code"
                                                                    • Code is considered more complex when "flow breaking structures are nested"

                                                                    Further reading

                                                                    Avoid too many return statements within this method.
                                                                    Open

                                                                        if (jj_scan_token(RPAREN)) return true;
                                                                    Severity: Major
                                                                    Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 30 mins to fix

                                                                      Avoid too many return statements within this method.
                                                                      Open

                                                                          return false;
                                                                      Severity: Major
                                                                      Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 30 mins to fix

                                                                        Method ValueSuffix has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                                                        Open

                                                                          final public void ValueSuffix() throws ParseException {
                                                                            switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                            case DOT:
                                                                              DotSuffix();
                                                                              break;
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 25 mins to fix

                                                                        Cognitive Complexity

                                                                        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                        A method's cognitive complexity is based on a few simple rules:

                                                                        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                        • Code is considered more complex for each "break in the linear flow of the code"
                                                                        • Code is considered more complex when "flow breaking structures are nested"

                                                                        Further reading

                                                                        Method jj_3R_97 has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_97() {
                                                                            if (jj_scan_token(IDENTIFIER)) return true;
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_102()) jj_scanpos = xsp;
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 25 mins to fix

                                                                        Cognitive Complexity

                                                                        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                        A method's cognitive complexity is based on a few simple rules:

                                                                        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                        • Code is considered more complex for each "break in the linear flow of the code"
                                                                        • Code is considered more complex when "flow breaking structures are nested"

                                                                        Further reading

                                                                        Method jj_3R_60 has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_60() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_67()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java - About 25 mins to fix

                                                                        Cognitive Complexity

                                                                        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                        A method's cognitive complexity is based on a few simple rules:

                                                                        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                        • Code is considered more complex for each "break in the linear flow of the code"
                                                                        • Code is considered more complex when "flow breaking structures are nested"

                                                                        Further reading

                                                                        Similar blocks of code found in 4 locations. Consider refactoring.
                                                                        Open

                                                                          final public void SetData() throws ParseException {
                                                                                                  /*@bgen(jjtree) SetData */
                                                                          AstSetData jjtn000 = new AstSetData(JJTSETDATA);
                                                                          boolean jjtc000 = true;
                                                                          jjtree.openNodeScope(jjtn000);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 3 other locations - About 4 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1465..1526
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1643..1704
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1711..1772

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 305.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 4 locations. Consider refactoring.
                                                                        Open

                                                                          final public void MapData() throws ParseException {
                                                                                                  /*@bgen(jjtree) MapData */
                                                                          AstMapData jjtn000 = new AstMapData(JJTMAPDATA);
                                                                          boolean jjtc000 = true;
                                                                          jjtree.openNodeScope(jjtn000);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 3 other locations - About 4 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1465..1526
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1580..1641
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1643..1704

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 305.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 4 locations. Consider refactoring.
                                                                        Open

                                                                          final public void ListData() throws ParseException {
                                                                                                    /*@bgen(jjtree) ListData */
                                                                          AstListData jjtn000 = new AstListData(JJTLISTDATA);
                                                                          boolean jjtc000 = true;
                                                                          jjtree.openNodeScope(jjtn000);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 3 other locations - About 4 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1465..1526
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1580..1641
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1711..1772

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 305.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 4 locations. Consider refactoring.
                                                                        Open

                                                                          final public void MethodParameters() throws ParseException {
                                                                                                                     /*@bgen(jjtree) MethodParameters */
                                                                          AstMethodParameters jjtn000 = new AstMethodParameters(JJTMETHODPARAMETERS);
                                                                          boolean jjtc000 = true;
                                                                          jjtree.openNodeScope(jjtn000);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 3 other locations - About 4 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1580..1641
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1643..1704
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1711..1772

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 305.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                          final public void Or() throws ParseException {
                                                                            And();
                                                                            label_7:
                                                                            while (true) {
                                                                              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 4 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 585..635

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 267.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                          final public void And() throws ParseException {
                                                                            Equality();
                                                                            label_8:
                                                                            while (true) {
                                                                              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 4 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 529..579

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 267.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                              case MOD1:
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case MOD0:
                                                                                  jj_consume_token(MOD0);
                                                                                  break;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 658..695
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 697..734
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 768..805
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 807..844
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 846..883
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 885..922
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1105..1142

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 212.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                              case EQ1:
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case EQ0:
                                                                                  jj_consume_token(EQ0);
                                                                                  break;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 697..734
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 768..805
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 807..844
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 846..883
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 885..922
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1105..1142
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1144..1181

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 212.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                              case GE1:
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case GE0:
                                                                                  jj_consume_token(GE0);
                                                                                  break;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 658..695
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 697..734
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 768..805
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 807..844
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 846..883
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1105..1142
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1144..1181

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 212.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                              case LE1:
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case LE0:
                                                                                  jj_consume_token(LE0);
                                                                                  break;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 658..695
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 697..734
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 768..805
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 807..844
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 885..922
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1105..1142
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1144..1181

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 212.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                              case GT1:
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case GT0:
                                                                                  jj_consume_token(GT0);
                                                                                  break;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 658..695
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 697..734
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 768..805
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 846..883
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 885..922
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1105..1142
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1144..1181

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 212.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                              case NE1:
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case NE0:
                                                                                  jj_consume_token(NE0);
                                                                                  break;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 658..695
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 768..805
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 807..844
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 846..883
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 885..922
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1105..1142
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1144..1181

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 212.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                              case LT1:
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case LT0:
                                                                                  jj_consume_token(LT0);
                                                                                  break;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 658..695
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 697..734
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 807..844
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 846..883
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 885..922
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1105..1142
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1144..1181

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 212.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                              case DIV1:
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case DIV0:
                                                                                  jj_consume_token(DIV0);
                                                                                  break;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 658..695
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 697..734
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 768..805
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 807..844
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 846..883
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 885..922
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1144..1181

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 212.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                          final public void Semicolon() throws ParseException {
                                                                            Assignment();
                                                                            label_2:
                                                                            while (true) {
                                                                              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 936..974

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 201.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                          final public void Concatenation() throws ParseException {
                                                                            Math();
                                                                            label_11:
                                                                            while (true) {
                                                                              switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 3 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 182..220

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 201.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 3 locations. Consider refactoring.
                                                                        Open

                                                                          final public void BracketSuffix() throws ParseException {
                                                                                                               /*@bgen(jjtree) BracketSuffix */
                                                                          AstBracketSuffix jjtn000 = new AstBracketSuffix(JJTBRACKETSUFFIX);
                                                                          boolean jjtc000 = true;
                                                                          jjtree.openNodeScope(jjtn000);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 2 other locations - About 2 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 107..135
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 141..169

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 153.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 3 locations. Consider refactoring.
                                                                        Open

                                                                          final public void DynamicExpression() throws ParseException {
                                                                                                                       /*@bgen(jjtree) DynamicExpression */
                                                                          AstDynamicExpression jjtn000 = new AstDynamicExpression(JJTDYNAMICEXPRESSION);
                                                                          boolean jjtc000 = true;
                                                                          jjtree.openNodeScope(jjtn000);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 2 other locations - About 2 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 107..135
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1432..1460

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 153.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 3 locations. Consider refactoring.
                                                                        Open

                                                                          final public void DeferredExpression() throws ParseException {
                                                                                                                         /*@bgen(jjtree) DeferredExpression */
                                                                          AstDeferredExpression jjtn000 = new AstDeferredExpression(JJTDEFERREDEXPRESSION);
                                                                          boolean jjtc000 = true;
                                                                          jjtree.openNodeScope(jjtn000);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 2 other locations - About 2 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 141..169
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1432..1460

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 153.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Identical blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                            case EMPTY:
                                                                              jj_consume_token(EMPTY);
                                                                                          AstEmpty jjtn003 = new AstEmpty(JJTEMPTY);
                                                                                          boolean jjtc003 = true;
                                                                                          jjtree.openNodeScope(jjtn003);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 2 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1196..1222

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 150.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 3 locations. Consider refactoring.
                                                                        Open

                                                                              case MULT:
                                                                                jj_consume_token(MULT);
                                                                                          AstMult jjtn001 = new AstMult(JJTMULT);
                                                                                          boolean jjtc001 = true;
                                                                                          jjtree.openNodeScope(jjtn001);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 2 other locations - About 2 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 994..1020
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1021..1047

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 150.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Identical blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                            case MINUS:
                                                                              jj_consume_token(MINUS);
                                                                                          AstNegative jjtn001 = new AstNegative(JJTNEGATIVE);
                                                                                          boolean jjtc001 = true;
                                                                                          jjtree.openNodeScope(jjtn001);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 2 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1262..1288

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 150.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 3 locations. Consider refactoring.
                                                                        Open

                                                                              case PLUS:
                                                                                jj_consume_token(PLUS);
                                                                                          AstPlus jjtn001 = new AstPlus(JJTPLUS);
                                                                                          boolean jjtc001 = true;
                                                                                          jjtree.openNodeScope(jjtn001);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 2 other locations - About 2 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1021..1047
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1077..1103

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 150.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 3 locations. Consider refactoring.
                                                                        Open

                                                                              case MINUS:
                                                                                jj_consume_token(MINUS);
                                                                                           AstMinus jjtn002 = new AstMinus(JJTMINUS);
                                                                                           boolean jjtc002 = true;
                                                                                           jjtree.openNodeScope(jjtn002);
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 2 other locations - About 2 hrs to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 994..1020
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1077..1103

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 150.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                              if (jj_2_3(3)) {
                                                                                LambdaExpression();
                                                                              } else {
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case START_SET_OR_MAP:
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 422..447

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 120.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                              if (jj_2_4(3)) {
                                                                                LambdaExpression();
                                                                              } else {
                                                                                switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                case START_SET_OR_MAP:
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 298..323

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 120.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                           private static void jj_la1_init_1() {
                                                                              jj_la1_1 = new int[] {0x0,0x0,0x0,0x1008860,0x1008860,0x0,0x1000000,0x1000000,0x1008860,0x0,0x600,0x600,0x180,0x180,0x1e,0x6,0x18,0x1e,0x1,0x0,0x0,0x1,0x0,0x1,0x200000,0xc000,0xc000,0x1e2000,0x60000,0x180000,0x1e2000,0x60,0x1008860,0x0,0x1000000,0x0,0x0,0x0,0x1008860,0x0,0x1000000,0x0,0x0,0x1008860,0x0,0x1008860,0x0,0x1008860,0x0,0x0,0x0,0x0,};
                                                                           }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2858..2860

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 119.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                           private static void jj_la1_init_0() {
                                                                              jj_la1_0 = new int[] {0xe,0xe,0x800000,0x15ed00,0x15ed00,0x1000000,0x0,0x40000,0x15ed00,0x40000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xfe000000,0x18000000,0x6000000,0x80000000,0x60000000,0xfe000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x15ed00,0x120000,0x15ed00,0x120000,0x40000,0x1000000,0x15ed00,0x40000,0x0,0x100100,0x1000000,0x15ed00,0x1000000,0x15ed00,0x1000000,0x15ed00,0x400000,0x40000,0x1ec00,0xc000,};
                                                                           }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2861..2863

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 119.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 5 locations. Consider refactoring.
                                                                        Open

                                                                          final public void FloatingPoint() throws ParseException {
                                                                                                               /*@bgen(jjtree) FloatingPoint */
                                                                                                                AstFloatingPoint jjtn000 = new AstFloatingPoint(JJTFLOATINGPOINT);
                                                                                                                boolean jjtc000 = true;
                                                                                                                jjtree.openNodeScope(jjtn000);Token t = null;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 4 other locations - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 86..101
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1808..1823
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1976..1991
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1997..2012

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 97.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 5 locations. Consider refactoring.
                                                                        Open

                                                                          final public void Identifier() throws ParseException {
                                                                                                         /*@bgen(jjtree) Identifier */
                                                                                                          AstIdentifier jjtn000 = new AstIdentifier(JJTIDENTIFIER);
                                                                                                          boolean jjtc000 = true;
                                                                                                          jjtree.openNodeScope(jjtn000);Token t = null;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 4 other locations - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 86..101
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1955..1970
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1976..1991
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1997..2012

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 97.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 5 locations. Consider refactoring.
                                                                        Open

                                                                          final public void String() throws ParseException {
                                                                                                 /*@bgen(jjtree) String */
                                                                                                  AstString jjtn000 = new AstString(JJTSTRING);
                                                                                                  boolean jjtc000 = true;
                                                                                                  jjtree.openNodeScope(jjtn000);Token t = null;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 4 other locations - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 86..101
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1808..1823
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1955..1970
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1976..1991

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 97.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 5 locations. Consider refactoring.
                                                                        Open

                                                                          final public void LiteralExpression() throws ParseException {
                                                                                                                       /*@bgen(jjtree) LiteralExpression */
                                                                                                                        AstLiteralExpression jjtn000 = new AstLiteralExpression(JJTLITERALEXPRESSION);
                                                                                                                        boolean jjtc000 = true;
                                                                                                                        jjtree.openNodeScope(jjtn000);Token t = null;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 4 other locations - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1808..1823
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1955..1970
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1976..1991
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1997..2012

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 97.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 5 locations. Consider refactoring.
                                                                        Open

                                                                          final public void Integer() throws ParseException {
                                                                                                   /*@bgen(jjtree) Integer */
                                                                                                    AstInteger jjtn000 = new AstInteger(JJTINTEGER);
                                                                                                    boolean jjtc000 = true;
                                                                                                    jjtree.openNodeScope(jjtn000);Token t = null;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 4 other locations - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 86..101
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1808..1823
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1955..1970
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1997..2012

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 97.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_48() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_53()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2517..2531

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 71.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_59() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_63()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 1 hr to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2751..2765

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 71.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                                      switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                                      case LBRACK:
                                                                                        ListData();
                                                                                        break;
                                                                                      case START_SET_OR_MAP:
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 55 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1384..1395

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 64.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                            if (jj_3R_80()) {
                                                                            jj_scanpos = xsp;
                                                                            if (jj_3R_81()) {
                                                                            jj_scanpos = xsp;
                                                                            if (jj_3R_82()) {
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 55 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2324..2336

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 64.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                            if (jj_3R_86()) {
                                                                            jj_scanpos = xsp;
                                                                            if (jj_3R_87()) {
                                                                            jj_scanpos = xsp;
                                                                            if (jj_3_8()) {
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 55 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2685..2697

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 64.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                            switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
                                                                            case DOT:
                                                                              DotSuffix();
                                                                              break;
                                                                            case LBRACK:
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 55 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1556..1567

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 64.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Identical blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                            case FALSE:
                                                                                AstFalse jjtn002 = new AstFalse(JJTFALSE);
                                                                                boolean jjtc002 = true;
                                                                                jjtree.openNodeScope(jjtn002);
                                                                              try {
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 50 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1920..1931

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 60.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Identical blocks of code found in 2 locations. Consider refactoring.
                                                                        Open

                                                                            case TRUE:
                                                                              AstTrue jjtn001 = new AstTrue(JJTTRUE);
                                                                              boolean jjtc001 = true;
                                                                              jjtree.openNodeScope(jjtn001);
                                                                              try {
                                                                        Severity: Minor
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 1 other location - About 50 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 1932..1943

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 60.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 4 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_98() {
                                                                            if (jj_scan_token(LBRACK)) return true;
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_104()) jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 3 other locations - About 45 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2154..2161
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2229..2236
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2258..2265

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 53.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 4 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_99() {
                                                                            if (jj_scan_token(START_SET_OR_MAP)) return true;
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_105()) jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 3 other locations - About 45 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2185..2192
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2229..2236
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2258..2265

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 53.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 4 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_25() {
                                                                            if (jj_scan_token(START_SET_OR_MAP)) return true;
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_31()) jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 3 other locations - About 45 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2154..2161
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2185..2192
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2258..2265

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 53.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 4 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_33() {
                                                                            if (jj_scan_token(LPAREN)) return true;
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_39()) jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 3 other locations - About 45 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2154..2161
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2185..2192
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2229..2236

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 53.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_2_1(int xla) {
                                                                            jj_la = xla; jj_lastpos = jj_scanpos = token;
                                                                            try { return !jj_3_1(); }
                                                                            catch(LookaheadSuccess ls) { return true; }
                                                                            finally { jj_save(0, xla); }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2039..2044
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2046..2051
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2053..2058
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2060..2065
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2067..2072
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2074..2079
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2081..2086

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 52.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_2_3(int xla) {
                                                                            jj_la = xla; jj_lastpos = jj_scanpos = token;
                                                                            try { return !jj_3_3(); }
                                                                            catch(LookaheadSuccess ls) { return true; }
                                                                            finally { jj_save(2, xla); }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2032..2037
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2039..2044
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2053..2058
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2060..2065
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2067..2072
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2074..2079
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2081..2086

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 52.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_2_7(int xla) {
                                                                            jj_la = xla; jj_lastpos = jj_scanpos = token;
                                                                            try { return !jj_3_7(); }
                                                                            catch(LookaheadSuccess ls) { return true; }
                                                                            finally { jj_save(6, xla); }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2032..2037
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2039..2044
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2046..2051
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2053..2058
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2060..2065
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2067..2072
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2081..2086

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 52.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_2_6(int xla) {
                                                                            jj_la = xla; jj_lastpos = jj_scanpos = token;
                                                                            try { return !jj_3_6(); }
                                                                            catch(LookaheadSuccess ls) { return true; }
                                                                            finally { jj_save(5, xla); }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2032..2037
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2039..2044
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2046..2051
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2053..2058
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2060..2065
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2074..2079
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2081..2086

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 52.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_2_5(int xla) {
                                                                            jj_la = xla; jj_lastpos = jj_scanpos = token;
                                                                            try { return !jj_3_5(); }
                                                                            catch(LookaheadSuccess ls) { return true; }
                                                                            finally { jj_save(4, xla); }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2032..2037
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2039..2044
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2046..2051
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2053..2058
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2067..2072
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2074..2079
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2081..2086

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 52.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_2_2(int xla) {
                                                                            jj_la = xla; jj_lastpos = jj_scanpos = token;
                                                                            try { return !jj_3_2(); }
                                                                            catch(LookaheadSuccess ls) { return true; }
                                                                            finally { jj_save(1, xla); }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2032..2037
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2046..2051
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2053..2058
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2060..2065
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2067..2072
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2074..2079
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2081..2086

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 52.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_2_4(int xla) {
                                                                            jj_la = xla; jj_lastpos = jj_scanpos = token;
                                                                            try { return !jj_3_4(); }
                                                                            catch(LookaheadSuccess ls) { return true; }
                                                                            finally { jj_save(3, xla); }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2032..2037
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2039..2044
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2046..2051
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2060..2065
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2067..2072
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2074..2079
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2081..2086

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 52.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 8 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_2_8(int xla) {
                                                                            jj_la = xla; jj_lastpos = jj_scanpos = token;
                                                                            try { return !jj_3_8(); }
                                                                            catch(LookaheadSuccess ls) { return true; }
                                                                            finally { jj_save(7, xla); }
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 7 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2032..2037
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2039..2044
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2046..2051
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2053..2058
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2060..2065
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2067..2072
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2074..2079

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 52.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_31() {
                                                                            if (jj_3R_36()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_39() {
                                                                            if (jj_3R_38()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_44() {
                                                                            if (jj_3R_47()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_26() {
                                                                            if (jj_3R_22()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_40() {
                                                                            if (jj_3R_44()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_29() {
                                                                            if (jj_3R_34()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_22() {
                                                                            if (jj_3R_29()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_70() {
                                                                            if (jj_3R_71()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_42() {
                                                                            if (jj_3R_20()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_57() {
                                                                            if (jj_3R_59()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_51() {
                                                                            if (jj_3R_57()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_34() {
                                                                            if (jj_3R_40()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2706..2714
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 13 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_47() {
                                                                            if (jj_3R_51()) return true;
                                                                            Token xsp;
                                                                            while (true) {
                                                                              xsp = jj_scanpos;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 12 other locations - About 40 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2103..2111
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2129..2137
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2168..2176
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2194..2202
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2204..2212
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2214..2222
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2390..2398
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2425..2433
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2480..2488
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2587..2595
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2642..2650
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2790..2798

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 51.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_41() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(39)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_50() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(35)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_68() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(49)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_35() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(41)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_54() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(25)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_55() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(31)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_69() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(51)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_53() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(27)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_56() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(29)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2820..2828

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 10 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_49() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_scan_token(33)) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 9 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2088..2096
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2144..2152
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2544..2552
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2559..2567
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2721..2729
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2731..2739
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2741..2749
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2767..2775
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2800..2808

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 47.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 7 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_75() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_78()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 6 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2347..2355
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2410..2418
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2465..2473
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2612..2620
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2632..2640
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2810..2818

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 43.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 7 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_27() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_32()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 6 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2410..2418
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2440..2448
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2465..2473
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2612..2620
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2632..2640
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2810..2818

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 43.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 7 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_58() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_61()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 6 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2347..2355
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2410..2418
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2440..2448
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2465..2473
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2632..2640
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2810..2818

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 43.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 7 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_92() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_100()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 6 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2347..2355
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2410..2418
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2440..2448
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2465..2473
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2612..2620
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2810..2818

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 43.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 7 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_20() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3_2()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 6 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2347..2355
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2440..2448
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2465..2473
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2612..2620
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2632..2640
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2810..2818

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 43.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 7 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_45() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_49()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 6 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2347..2355
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2410..2418
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2440..2448
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2465..2473
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2612..2620
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2632..2640

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 43.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        Similar blocks of code found in 7 locations. Consider refactoring.
                                                                        Open

                                                                          private boolean jj_3R_71() {
                                                                            Token xsp;
                                                                            xsp = jj_scanpos;
                                                                            if (jj_3R_73()) {
                                                                            jj_scanpos = xsp;
                                                                        Severity: Major
                                                                        Found in zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java and 6 other locations - About 35 mins to fix
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2347..2355
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2410..2418
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2440..2448
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2612..2620
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2632..2640
                                                                        zel/src/main/java/org/zkoss/zel/impl/parser/ELParser.java on lines 2810..2818

                                                                        Duplicated Code

                                                                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                        Tuning

                                                                        This issue has a mass of 43.

                                                                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                        Refactorings

                                                                        Further Reading

                                                                        There are no issues that match your filters.

                                                                        Category
                                                                        Status