Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

            return ((String)o).length();
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 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 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 element instanceof String ?
                        ((String)o).lastIndexOf((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 JSONArray.toJSONString((char[])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 indexOf(((Map)o).keySet(), element);
            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 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 ((JSONAware)value).toJSONString();
                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((Object[])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 "\"" + escape(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 -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 JSONObject.toJSONString((Map)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 "null";
                            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((int[])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 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 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 j - 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 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