klein0r/affiliate-dashboard

View on GitHub

Showing 288 of 320 total issues

Avoid deeply nested control flow statements.
Open

                        for ( type in data.events ) {
                            if ( special[ type ] ) {
                                jQuery.event.remove( elem, type );

                            // This is a shortcut to avoid jQuery.event.remove's overhead
Severity: Major
Found in web/js/jquery_jquery-1.11.1_1.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                        if ( copyIsArray ) {
                            copyIsArray = false;
                            clone = src && jQuery.isArray(src) ? src : [];
    
                        } else {
    Severity: Major
    Found in web/js/jquery_jquery-1.11.1_1.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                          for ( conv2 in converters ) {
      
                              // If conv2 outputs current
                              tmp = conv2.split( " " );
                              if ( tmp[ 1 ] === current ) {
      Severity: Major
      Found in web/js/jquery_jquery-1.11.1_1.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 ( jQuery.isFunction( this[ match ] ) ) {
                                        this[ match ]( context[ match ] );
        
        
        Severity: Major
        Found in web/js/jquery_jquery-1.11.1_1.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 web/js/jquery_jquery-1.11.1_1.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                    while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {
                                        cur = cur.replace( " " + clazz + " ", " " );
                                    }
            Severity: Major
            Found in web/js/jquery_jquery-1.11.1_1.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                              if ( typeof xhr.responseText === "string" ) {
                                                  responses.text = xhr.responseText;
                                              }
              Severity: Major
              Found in web/js/jquery_jquery-1.11.1_1.js - About 45 mins to fix

                Consider simplifying this complex logical expression.
                Open

                        if ( s.crossDomain == null ) {
                            parts = rurl.exec( s.url.toLowerCase() );
                            s.crossDomain = !!( parts &&
                                ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
                                    ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
                Severity: Major
                Found in web/js/jquery.js - About 40 mins to fix

                  Consider simplifying this complex logical expression.
                  Open

                      if ( support.matchesSelector && documentIsHTML &&
                          ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
                          ( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {
                  
                          try {
                  Severity: Major
                  Found in web/js/jquery.js - About 40 mins to fix

                    Consider simplifying this complex logical expression.
                    Open

                          if (autoPlace) {
                            var $parent = this.$element.parent()
                    
                            var orgPlacement = placement
                            var docScroll    = document.documentElement.scrollTop || document.body.scrollTop
                    Severity: Major
                    Found in web/js/bootstrap.js - About 40 mins to fix

                      Consider simplifying this complex logical expression.
                      Open

                            if (autoPlace) {
                              var $parent = this.$element.parent()
                      
                              var orgPlacement = placement
                              var docScroll    = document.documentElement.scrollTop || document.body.scrollTop
                      Severity: Major
                      Found in web/js/bootstrap_tooltip_8.js - About 40 mins to fix

                        Consider simplifying this complex logical expression.
                        Open

                                    if ( matcher[ expando ] ) {
                                        // Find the next relative operator (if any) for proper handling
                                        j = ++i;
                                        for ( ; j < len; j++ ) {
                                            if ( Expr.relative[ tokens[j].type ] ) {
                        Severity: Major
                        Found in web/js/jquery.js - About 40 mins to fix

                          Consider simplifying this complex logical expression.
                          Open

                          if ( !support.opacity ) {
                              jQuery.cssHooks.opacity = {
                                  get: function( elem, computed ) {
                                      // IE uses filters for opacity
                                      return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
                          Severity: Major
                          Found in web/js/jquery.js - About 40 mins to fix

                            Consider simplifying this complex logical expression.
                            Open

                                if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) {
                                    return;
                                }
                            Severity: Major
                            Found in web/js/jquery.js - About 40 mins to fix

                              Consider simplifying this complex logical expression.
                              Open

                              if ( !support.opacity ) {
                                  jQuery.cssHooks.opacity = {
                                      get: function( elem, computed ) {
                                          // IE uses filters for opacity
                                          return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
                              Severity: Major
                              Found in web/js/jquery_jquery-1.11.1_1.js - About 40 mins to fix

                                Consider simplifying this complex logical expression.
                                Open

                                            if ( matcher[ expando ] ) {
                                                // Find the next relative operator (if any) for proper handling
                                                j = ++i;
                                                for ( ; j < len; j++ ) {
                                                    if ( Expr.relative[ tokens[j].type ] ) {
                                Severity: Major
                                Found in web/js/jquery_jquery-1.11.1_1.js - About 40 mins to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                      if ( support.matchesSelector && documentIsHTML &&
                                          ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
                                          ( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {
                                  
                                          try {
                                  Severity: Major
                                  Found in web/js/jquery_jquery-1.11.1_1.js - About 40 mins to fix

                                    Consider simplifying this complex logical expression.
                                    Open

                                            if ( s.crossDomain == null ) {
                                                parts = rurl.exec( s.url.toLowerCase() );
                                                s.crossDomain = !!( parts &&
                                                    ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
                                                        ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
                                    Severity: Major
                                    Found in web/js/jquery_jquery-1.11.1_1.js - About 40 mins to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                          if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) {
                                              return;
                                          }
                                      Severity: Major
                                      Found in web/js/jquery_jquery-1.11.1_1.js - About 40 mins to fix

                                        Function condense has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        function condense( unmatched, map, filter, context, xml ) {
                                        Severity: Minor
                                        Found in web/js/jquery.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language