Showing 7,775 of 7,775 total issues

Avoid deeply nested control flow statements.
Open

                        if (!elem) {
                            // treechildren may not have the value from $n()
                            elem = wgt.parent.$n();
                        }
Severity: Major
Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                        while ((node = node[dir])) {
                                            if (ofType ?
                                                node.nodeName.toLowerCase() === name :
                                                node.nodeType === 1) {
    
    
    Severity: Major
    Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if (wgt) {
                                  wgt = wgt.parent;
                              }
      Severity: Major
      Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

        Function extractFromRFC2822Strings has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                yearStr,
                monthStr,
                dayStr,
                hourStr,
                minuteStr,
        Severity: Minor
        Found in zk/src/main/resources/web/js/zk/ext/moment.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                  if ( node && node.value === id ) {
                                      return [ elem ];
                                  }
          Severity: Major
          Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                if ( Expr.relative[ tokens[ j ].type ] ) {
                                    break;
                                }
            Severity: Major
            Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                  if ( hasScripts ) {
              
                                      // Support: Android <=4.0 only, PhantomJS 1 only
                                      // push.apply(_, arraylike) throws on ancient WebKit
                                      jQuery.merge( scripts, getAll( node, "script" ) );
              Severity: Major
              Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                        if ( matcher( elem, context, xml ) ) {
                                            return true;
                                        }
                Severity: Major
                Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                          if ( matchedSelectors[ sel ] ) {
                                              matchedHandlers.push( handleObj );
                                          }
                  Severity: Major
                  Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                        if ( rscriptType.test( node.type || "" ) &&
                                            !dataPriv.access( node, "globalEval" ) &&
                                            jQuery.contains( doc, node ) ) {
                    
                                            if ( node.src && ( node.type || "" ).toLowerCase()  !== "module" ) {
                    Severity: Major
                    Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                          if ( restoreDisplay == null ) {
                                              display = style.display;
                                              restoreDisplay = display === "none" ? "" : display;
                                          }
                      Severity: Major
                      Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                            if ( copyIsArray && !Array.isArray( src ) ) {
                                                clone = [];
                                            } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {
                                                clone = {};
                                            } else {
                        Severity: Major
                        Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                      if (!targets.length) {
                                                          delete elem[zk.Widget._TARGETS];
                                                      }
                          Severity: Major
                          Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                                if ((ofType ?
                                                                        node.widgetName === name :
                                                                        true) &&
                                                                    ++diff) {
                            
                            
                            Severity: Major
                            Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                      if ( ( event.result = ret ) === false ) {
                                                          event.preventDefault();
                                                          event.stopPropagation();
                                                      }
                              Severity: Major
                              Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                        while ( cur.indexOf( " " + clazz + " " ) > -1 ) {
                                                            cur = cur.replace( " " + clazz + " ", " " );
                                                        }
                                Severity: Major
                                Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                              if (!elem[zk.Widget._TARGET]) {
                                                                  elem[zk.Widget._TARGET] = elem[zk.Widget._CURRENT_TARGET];
                                                                  delete elem[zk.Widget._CURRENT_TARGET];
                                                              }
                                  Severity: Major
                                  Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                        while ( i-- ) {
                                                            groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " +
                                                                toSelector( groups[ i ] );
                                                        }
                                    Severity: Major
                                    Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                          while ((node = ++nodeIndex && node && node[dir] ||
                                                                              (diff = nodeIndex = 0) || start.pop())) {
                                      
                                                                              if ((ofType ?
                                                                                      node.nodeName.toLowerCase() === name :
                                      Severity: Major
                                      Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                            if ( !selector ) {
                                                                push.apply( results, seed );
                                                                return results;
                                                            }
                                        Severity: Major
                                        Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language