Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

        return null;
Severity: Major
Found in zk/src/main/java/org/zkoss/zk/ui/Components.java - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return exec != null ? exec.getArg() : null;
    Severity: Major
    Found in zk/src/main/java/org/zkoss/zk/ui/Components.java - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return exec != null ? exec.getParameterMap() : null;
      Severity: Major
      Found in zk/src/main/java/org/zkoss/zk/ui/Components.java - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return Component.SESSION_SCOPE;
        Severity: Major
        Found in zk/src/main/java/org/zkoss/zk/ui/Components.java - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return comp != null ? comp.getAttributes() : Collections.EMPTY_MAP;
          Severity: Major
          Found in zk/src/main/java/org/zkoss/zk/ui/Components.java - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return sess != null ? sess.getAttributes() : Collections.EMPTY_MAP;
            Severity: Major
            Found in zk/src/main/java/org/zkoss/zk/ui/Components.java - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return REQUEST_SCOPE_PROXY;
              Severity: Major
              Found in zk/src/main/java/org/zkoss/zk/ui/Components.java - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return _previousInsertion;
                Severity: Major
                Found in zk/src/main/java/org/zkoss/zk/ui/HtmlShadowElement.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return matched;
                  Severity: Major
                  Found in zk/src/main/java/org/zkoss/zk/ui/HtmlShadowElement.java - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return _page.getDesktop().getSession().getAttributes();
                    Severity: Major
                    Found in zk/src/main/java/org/zkoss/zk/ui/AbstractComponent.java - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return getVirtualIdSpace().hasFellow(name);
                      Severity: Major
                      Found in zk/src/main/java/org/zkoss/zk/ui/AbstractComponent.java - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return targetIndex - prev > 0 ? Direction.AFTER_NEXT : Direction.BEFORE_PREVIOUS;
                        Severity: Major
                        Found in zk/src/main/java/org/zkoss/zk/ui/HtmlShadowElement.java - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return; //done
                          Severity: Major
                          Found in zk/src/main/java/org/zkoss/zk/ui/AbstractComponent.java - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return Direction.LAST;
                            Severity: Major
                            Found in zk/src/main/java/org/zkoss/zk/ui/HtmlShadowElement.java - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return; // finish
                              Severity: Major
                              Found in zk/src/main/java/org/zkoss/zk/ui/HtmlShadowElement.java - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return _parent.getShadowVariable0(this, name, recurse);
                                Severity: Major
                                Found in zk/src/main/java/org/zkoss/zk/ui/AbstractComponent.java - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                          return ((AbstractComponent) shadowHost).getShadowVariable0(shadowHost, name, recurse);
                                  Severity: Major
                                  Found in zk/src/main/java/org/zkoss/zk/ui/AbstractComponent.java - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return node.getShadowVariable(name, recurse);
                                    Severity: Major
                                    Found in zk/src/main/java/org/zkoss/zk/ui/HtmlShadowElement.java - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return _page.getDesktop().getAttributes();
                                      Severity: Major
                                      Found in zk/src/main/java/org/zkoss/zk/ui/AbstractComponent.java - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return Collections.emptyMap();
                                        Severity: Major
                                        Found in zk/src/main/java/org/zkoss/zk/ui/AbstractComponent.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language