Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

                return Collections.EMPTY_MAP;
Severity: Major
Found in zweb/src/main/java/org/zkoss/web/servlet/xel/RequestXelResolver.java - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return equals ? v1 == v2 : v1 >= v2;
    Severity: Major
    Found in zweb/src/main/java/org/zkoss/web/servlet/Servlets.java - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return new AttributesMap() {
                      //It is OK to cache because it is readonly
                      private final Map _values = new HashMap();
      
                      protected Enumeration getKeys() {
      Severity: Major
      Found in zweb/src/main/java/org/zkoss/web/servlet/xel/RequestXelResolver.java - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return Browser.Old;
        Severity: Major
        Found in zweb/src/main/java/org/zkoss/web/fn/ThemeFns.java - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return null; //unknown
          Severity: Major
          Found in zweb/src/main/java/org/zkoss/web/servlet/dsp/Interpreter.java - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return findAttribute(name);
            Severity: Major
            Found in zweb/src/main/java/org/zkoss/web/servlet/xel/RequestXelResolver.java - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                  return Browser.Old_WebKit;
              Severity: Major
              Found in zweb/src/main/java/org/zkoss/web/fn/ThemeFns.java - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return _request != null ? _request.getParameterMap() : Collections.EMPTY_MAP;
                Severity: Major
                Found in zweb/src/main/java/org/zkoss/web/servlet/xel/RequestXelResolver.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return new AttributesMap() {
                                  protected Enumeration getKeys() {
                                      return hreq.getHeaderNames();
                                  }
                  
                  
                  Severity: Major
                  Found in zweb/src/main/java/org/zkoss/web/servlet/xel/RequestXelResolver.java - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return Browser.WebKit;
                    Severity: Major
                    Found in zweb/src/main/java/org/zkoss/web/fn/ThemeFns.java - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                          return Browser.WebKit;
                      Severity: Major
                      Found in zweb/src/main/java/org/zkoss/web/fn/ThemeFns.java - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return getApplicationScope();
                        Severity: Major
                        Found in zweb/src/main/java/org/zkoss/web/servlet/xel/RequestXelResolver.java - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return;
                          Severity: Major
                          Found in zweb/src/main/java/org/zkoss/web/servlet/Servlets.java - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                return Browser.Old_WebKit;
                            Severity: Major
                            Found in zweb/src/main/java/org/zkoss/web/fn/ThemeFns.java - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return Collections.EMPTY_MAP;
                              Severity: Major
                              Found in zweb/src/main/java/org/zkoss/web/servlet/xel/RequestXelResolver.java - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return !1
                                Severity: Major
                                Found in zktest/src/main/webapp/test2/js/zk-3913-PDF417lib.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                      if (0 !== a.n_value[e++]) return c && a.n_sign != libbcmath.PLUS ? -1 :
                                                          1
                                  Severity: Major
                                  Found in zktest/src/main/webapp/test2/js/zk-3913-PDF417lib.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                            if (0 !== b.n_value[g++]) return c && a.n_sign != libbcmath.PLUS ? 1 :
                                                                -1;
                                    Severity: Major
                                    Found in zktest/src/main/webapp/test2/js/zk-3913-PDF417lib.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return 0
                                      Severity: Major
                                      Found in zktest/src/main/webapp/test2/js/zk-3913-PDF417lib.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                  return false;
                                        Severity: Major
                                        Found in zk/src/main/resources/web/js/zk/ext/purify.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language