Showing 4,841 of 7,782 total issues

Method setMold has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void setMold(String mold) {
        final String old = getMold();
        if (!Objects.equals(old, mold)) {
            super.setMold(mold);
            //we have to change model before detaching paging,
Severity: Minor
Found in zul/src/main/java/org/zkoss/zul/Grid.java - About 1 hr to fix

    Method service has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public void service(org.zkoss.zk.au.AuRequest request, boolean everError) {
            final String cmd = request.getCommand();
            if (cmd.equals(Events.ON_OPEN)) {
                OpenEvent evt = OpenEvent.getOpenEvent(request);
                _open = evt.isOpen();
    Severity: Minor
    Found in zul/src/main/java/org/zkoss/zul/Panel.java - About 1 hr to fix

      Method updateHeadercmTristate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private void updateHeadercmTristate(Set<?> partialSelections) {
              if (getTreecols() != null) {
                  boolean treecolShouldBePartial = false;
                  int numberOfChild = 0,
                          selectedChild = 0;
      Severity: Minor
      Found in zul/src/main/java/org/zkoss/zul/Tree.java - About 1 hr to fix

        Method renderProperties has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer)
                    throws java.io.IOException {
                super.renderProperties(renderer);
        
                if (_max <= 0)
        Severity: Minor
        Found in zul/src/main/java/org/zkoss/zul/Rating.java - About 1 hr to fix

          Method render has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  @SuppressWarnings("unchecked")
                  private void render(Comboitem item, Object value, int index) throws Throwable {
                      if (!_rendered && (_renderer instanceof RendererCtrl)) {
                          ((RendererCtrl) _renderer).doTry();
                          _ctrled = true;
          Severity: Minor
          Found in zul/src/main/java/org/zkoss/zul/Combobox.java - About 1 hr to fix

            Method onInitRender has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                @SuppressWarnings("rawtypes")
                public void onInitRender(Event data) {
                    //Bug #2010389
                    removeAttribute(ZUL_RADIOGROUP_ON_INITRENDER); //clear syncModel flag
                    final Renderer renderer = new Renderer();
            Severity: Minor
            Found in zul/src/main/java/org/zkoss/zul/Radiogroup.java - About 1 hr to fix

              Method insertBefore has 27 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public boolean insertBefore(Component child, Component refChild) {
                      if (child instanceof Tabs) {
                          if (super.insertBefore(child, refChild)) {
                              _tabs = (Tabs) child;
                              for (Iterator<Component> it = _tabs.getChildren().iterator(); it.hasNext();) {
              Severity: Minor
              Found in zul/src/main/java/org/zkoss/zul/Tabbox.java - About 1 hr to fix

                Method setMold has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public void setMold(String mold) {
                        final String old = getMold();
                        if (!Objects.equals(old, mold)) {
                            super.setMold(mold);
                            // we have to change model before detaching paging,
                Severity: Minor
                Found in zul/src/main/java/org/zkoss/zul/Listbox.java - About 1 hr to fix

                  Method getThreadLocals has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      private void getThreadLocals() {
                          try {
                              Class cls = Classes
                                      .forNameByThread("org.springframework.transaction.support.TransactionSynchronizationManager");
                  

                    Method normalizePath has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public static String normalizePath(String path) {
                            if (path == null) {
                                return null;
                            }
                            if ("/".equals(path)) {
                    Severity: Minor
                    Found in zweb/src/main/java/org/zkoss/web/servlet/http/Https.java - About 1 hr to fix

                      Function diagonal has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      d3.svg.diagonal = function() {
                        var source = d3_svg_chordSource,
                            target = d3_svg_chordTarget,
                            projection = d3_svg_diagonalProjection;
                      
                      
                      Severity: Minor
                      Found in zktest/src/main/webapp/js/d3.js - About 1 hr to fix

                        Function when has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            when: function( singleValue ) {
                                var
                        
                                    // count of uncompleted subordinates
                                    remaining = arguments.length,
                        Severity: Minor
                        Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 1 hr to fix

                          Function addClass has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              addClass: function( value ) {
                                  var classes, elem, cur, curValue, clazz, j, finalValue,
                                      i = 0;
                          
                                  if ( isFunction( value ) ) {
                          Severity: Minor
                          Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 1 hr to fix

                            Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function propFilter( props, specialEasing ) {
                                var index, name, easing, value, hooks;
                            
                                // camelCase, specialEasing and expand cssHook pass
                                for ( index in props ) {
                            Severity: Minor
                            Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 1 hr to fix

                              Function position has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  position: function() {
                                      if ( !this[ 0 ] ) {
                                          return;
                                      }
                              
                              
                              Severity: Minor
                              Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 1 hr to fix

                                Function clone has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                        var i, l, srcElements, destElements,
                                            clone = elem.cloneNode( true ),
                                            inPage = isAttached( elem );
                                
                                
                                Severity: Minor
                                Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 1 hr to fix

                                  Function listWeekdaysImpl has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function listWeekdaysImpl(localeSorted, format, index, field) {
                                          if (typeof localeSorted === 'boolean') {
                                              if (isNumber(format)) {
                                                  index = format;
                                                  format = undefined;
                                  Severity: Minor
                                  Found in zk/src/main/resources/web/js/zk/ext/moment.js - About 1 hr to fix

                                    Function mtBL0 has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function mtBL0(): void {
                                        for (; ;) {
                                            if (_crInfBL0.length)
                                                return; //another page started
                                    
                                    
                                    Severity: Minor
                                    Found in zk/src/main/resources/web/js/zk/mount.ts - About 1 hr to fix

                                      Function chooseLocale has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function chooseLocale(names) {
                                              var i = 0,
                                                  j,
                                                  next,
                                                  locale,
                                      Severity: Minor
                                      Found in zk/src/main/resources/web/js/zk/ext/moment.js - About 1 hr to fix

                                        Function _syncPosition has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _syncPosition(orient: string, pos: number): void {
                                                if (!this._pos)
                                                    return;
                                        
                                                var isH = orient == 'hor',
                                        Severity: Minor
                                        Found in zul/src/main/resources/web/js/zul/Scrollbar.ts - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language