Showing 7,775 of 7,775 total issues

Avoid deeply nested control flow statements.
Open

          if (d3_layout_packIntersects(j, c)) {
            isect = 1;
            break;
          }
Severity: Major
Found in zktest/src/main/webapp/js/d3.layout.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

              for (k = a._pack_prev; k !== j._pack_prev; k = k._pack_prev, s2++) {
                if (d3_layout_packIntersects(k, c)) {
                  if (s2 < s1) {
                    isect = -1;
                    j = k;
    Severity: Major
    Found in zktest/src/main/webapp/js/d3.layout.js - About 45 mins to fix

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

      function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {
      Severity: Minor
      Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

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

            init: function( elem, options, prop, end, easing, unit ) {
        Severity: Minor
        Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

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

              _one_mult: function(a, b, c, d, e, g) {
          Severity: Minor
          Found in zktest/src/main/webapp/test2/js/zk-3913-PDF417lib.js - About 45 mins to fix

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

                        d = function(a, b, d, e, l, m) {
            Severity: Minor
            Found in zktest/src/main/webapp/test2/js/zk-3913-PDF417lib.js - About 45 mins to fix

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

              function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
              Severity: Minor
              Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                          for (j = i + 1; j < n; ++j) q[j].i--;
                Severity: Major
                Found in zktest/src/main/webapp/js/d3.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                              if (m != e && !1 !== (l = this._array_search(k, this.textsubmodes[m]))) {
                                                  (h + 1 == f || h + 1 < f && !1 !== this._array_search(this._ord(b.charAt(
                                                      h + 1)), this.textsubmodes[e])) && (3 == m || 0 == m && 1 == e) ? 3
                                                      == m ? g.push(29) : g.push(27): (g = g.concat(this.textlatch["" + e +
                                                          m]), e = m);
                  Severity: Major
                  Found in zktest/src/main/webapp/test2/js/zk-3913-PDF417lib.js - About 45 mins to fix

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

                    function on( elem, types, selector, data, fn, one ) {
                    Severity: Minor
                    Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                for (j = i + 1; j < n; ++j) q[j].i--;
                      Severity: Major
                      Found in zktest/src/main/webapp/js/d3.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                  for (j = i + 1; j < n; ++j) q[j].i -= 2;
                        Severity: Major
                        Found in zktest/src/main/webapp/js/d3.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                          } else if ( copy !== undefined ) {
                                              target[ name ] = copy;
                                          }
                          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 ( nodeType === 9 ) {
                                                    if ( ( elem = context.getElementById( m ) ) ) {
                            
                                                        // Support: IE, Opera, Webkit
                                                        // TODO: identify versions
                            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

                                                      for ( match in context ) {
                              
                                                          // Properties of context are called as methods if possible
                                                          if ( isFunction( this[ match ] ) ) {
                                                              this[ match ]( context[ match ] );
                              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 ] === undefined ) {
                                                            matchedSelectors[ sel ] = handleObj.needsContext ?
                                                                jQuery( sel, this ).index( cur ) > -1 :
                                                                jQuery.find( sel, this, null, [ cur ] ).length;
                                                        }
                                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

                                                  } else if ( match[ 2 ] ) {
                                                      push.apply( results, context.getElementsByTagName( selector ) );
                                                      return results;
                                  
                                                  // Class selector
                                  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) {
                                                                // 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

                                                              if ( attrs[ i ] ) {
                                                                  name = attrs[ i ].name;
                                                                  if ( name.indexOf( "data-" ) === 0 ) {
                                                                      name = camelCase( name.slice( 5 ) );
                                                                      dataAttr( elem, name, data[ 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 ( cur.indexOf( " " + clazz + " " ) < 0 ) {
                                                                    cur += clazz + " ";
                                                                }
                                        Severity: Major
                                        Found in zk/src/main/resources/web/js/zk/ext/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language