inderpartap/Bunk-O-Meter

View on GitHub

Showing 189 of 189 total issues

Avoid deeply nested control flow statements.
Open

                } else if ( copy !== undefined ) {
                    target[ name ] = copy;
                }
Severity: Major
Found in static/assets/js/jquery-1.10.2.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                if ( cache[1] === true ) {
                                    return true;
                                }
    Severity: Major
    Found in static/assets/js/jquery-1.10.2.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if ( rscriptType.test( node.type || "" ) &&
                                  !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) {
      
                                  if ( node.src ) {
                                      // Hope ajax is available...
      Severity: Major
      Found in static/assets/js/jquery-1.10.2.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                if ( deleteExpando ) {
                                    delete elem[ internalKey ];
        
                                } else if ( typeof elem.removeAttribute !== core_strundefined ) {
                                    elem.removeAttribute( internalKey );
        Severity: Major
        Found in static/assets/js/jquery-1.10.2.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                              if ( xhr.readyState !== 4 ) {
                                                  xhr.abort();
                                              }
          Severity: Major
          Found in static/assets/js/jquery-1.10.2.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 static/assets/js/jquery-1.10.2.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                      while ( j-- ) {
                                          if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) {
                                              elem.removeChild( tbody );
                                          }
                                      }
              Severity: Major
              Found in static/assets/js/jquery-1.10.2.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                            if ( !xhrCallbacks ) {
                                                xhrCallbacks = {};
                                                jQuery( window ).unload( xhrOnUnloadAbort );
                                            }
                Severity: Major
                Found in static/assets/js/jquery-1.10.2.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                      if ( conv && s[ "throws" ] ) {
                                          response = conv( response );
                                      } else {
                                          try {
                                              response = conv( response );
                  Severity: Major
                  Found in static/assets/js/jquery-1.10.2.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                                        if ( !status && s.isLocal && !s.crossDomain ) {
                                                            status = responses.text ? 200 : 404;
                                                        // IE - #1450: sometimes returns 1223 when it should be 204
                                                        } else if ( status === 1223 ) {
                                                            status = 204;
                    Severity: Major
                    Found in static/assets/js/jquery-1.10.2.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 static/assets/js/jquery-1.10.2.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                if ( hasScripts ) {
                                                    jQuery.merge( scripts, getAll( node, "script" ) );
                                                }
                        Severity: Major
                        Found in static/assets/js/jquery-1.10.2.js - About 45 mins to fix

                          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 static/assets/js/jquery-1.10.2.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                                if ( xhrOnUnloadAbort ) {
                                                                    delete xhrCallbacks[ handle ];
                                                                }
                            Severity: Major
                            Found in static/assets/js/jquery-1.10.2.js - About 45 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 static/assets/js/jquery-1.10.2.js - About 40 mins to fix

                                Consider simplifying this complex logical expression.
                                Open

                                if ( !jQuery.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 static/assets/js/jquery-1.10.2.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 static/assets/js/jquery-1.10.2.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 static/assets/js/jquery-1.10.2.js - About 40 mins to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                        if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {
                                          throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')
                                        }
                                      Severity: Major
                                      Found in static/js/bootstrap.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 static/assets/js/jquery-1.10.2.js - About 40 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language