Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

                return JSONArray.toJSONString((long[])value);
Severity: Major
Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return JSONArray.toJSONString((boolean[])value);
    Severity: Major
    Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                              return j;
      Severity: Major
      Found in zcommon/src/main/java/org/zkoss/xel/fn/CommonFns.java - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return JSONArray.toJSONString((float[])value);
        Severity: Major
        Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return JSONArray.toJSONString((short[])value);
          Severity: Major
          Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return -1;
            Severity: Major
            Found in zcommon/src/main/java/org/zkoss/xel/fn/CommonFns.java - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                        { return new Yytoken(Yytoken.TYPE_COLON,null);
              Severity: Major
              Found in zcommon/src/main/java/org/zkoss/json/parser/Yylex.java - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return null;
                Severity: Major
                Found in zcommon/src/main/java/org/zkoss/json/parser/Yylex.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return element instanceof String ?
                                  ((String)o).indexOf((String)element): -1;
                  Severity: Major
                  Found in zcommon/src/main/java/org/zkoss/xel/fn/CommonFns.java - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                              { return new Yytoken(Yytoken.TYPE_RIGHT_SQUARE,null);
                    Severity: Major
                    Found in zcommon/src/main/java/org/zkoss/json/parser/Yylex.java - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              if ("UP".equals(name)) return BigDecimal.ROUND_UP;
                      Severity: Major
                      Found in zcommon/src/main/java/org/zkoss/math/RoundingModes.java - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return value.toString();
                        Severity: Major
                        Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return value.toString();
                          Severity: Major
                          Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                      { Double val=Double.valueOf(yytext()); return new Yytoken(Yytoken.TYPE_VALUE, val);
                            Severity: Major
                            Found in zcommon/src/main/java/org/zkoss/json/parser/Yylex.java - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      if ("UNNECESSARY".equals(name)) return BigDecimal.ROUND_UNNECESSARY;
                              Severity: Major
                              Found in zcommon/src/main/java/org/zkoss/math/RoundingModes.java - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                              return new Yytoken(Yytoken.TYPE_VALUE, val);
                                Severity: Major
                                Found in zcommon/src/main/java/org/zkoss/json/parser/Yylex.java - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          if ("HALF_UP".equals(name)) return BigDecimal.ROUND_HALF_UP;
                                  Severity: Major
                                  Found in zcommon/src/main/java/org/zkoss/math/RoundingModes.java - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                              { return new Yytoken(Yytoken.TYPE_LEFT_SQUARE,null);
                                    Severity: Major
                                    Found in zcommon/src/main/java/org/zkoss/json/parser/Yylex.java - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                { return new Yytoken(Yytoken.TYPE_COMMA,null);
                                      Severity: Major
                                      Found in zcommon/src/main/java/org/zkoss/json/parser/Yylex.java - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return j;
                                        Severity: Major
                                        Found in zcommon/src/main/java/org/zkoss/xel/fn/CommonFns.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language