azproduction/autopolyfiller

View on GitHub

Showing 135 of 135 total issues

Avoid deeply nested control flow statements.
Open

                        for ( j = tbody.length - 1; j >= 0 ; --j ) {
                            if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) {
                                tbody[ j ].parentNode.removeChild( tbody[ j ] );
                            }
                        }
Severity: Major
Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            if ( name in thisCache ) {
                                name = [ name ];
                            } else {
                                name = name.split(" ");
                            }
    Severity: Major
    Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if ( name.indexOf( "data-" ) === 0 ) {
                                  name = jQuery.camelCase( name.substring(5) );
      
                                  dataAttr( elem, name, data[ name ] );
                              }
      Severity: Major
      Found in benchmark/scan/assets/jquery.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 benchmark/scan/assets/jquery.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 benchmark/scan/assets/jquery.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

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

              Avoid deeply nested control flow statements.
              Open

                                      if ( selMatch[ sel ] === undefined ) {
                                          selMatch[ sel ] = jqcur.is( sel );
                                      }
              Severity: Major
              Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                                    if ( xml && xml.documentElement /* #4958 */ ) {
                                                        responses.xml = xml;
                                                    }
                Severity: Major
                Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                          for ( c = 0, cl = classNames.length; c < cl; c++ ) {
                                              if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) {
                                                  setClass += classNames[ c ] + " ";
                                              }
                                          }
                  Severity: Major
                  Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                            if ( ret === false ) {
                                                event.preventDefault();
                                                event.stopPropagation();
                                            }
                    Severity: Major
                    Found in benchmark/scan/assets/jquery.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 benchmark/scan/assets/jquery.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                        if ( node === elem ) {
                                                            break;
                                                        }
                        Severity: Major
                        Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                  if ( ret[r] === ret[n] ) {
                                                      ret.splice(n--, 1);
                                                      break;
                                                  }
                          Severity: Major
                          Found in benchmark/scan/assets/jquery.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 benchmark/scan/assets/jquery.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

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

                                Avoid deeply nested control flow statements.
                                Open

                                                    if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
                                                        contains( context, elem ) && elem.id === m ) {
                                                        results.push( elem );
                                                        return results;
                                                    }
                                Severity: Major
                                Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                  if ( document.querySelectorAll ) {
                                      (function() {
                                          var disconnectedMatch,
                                              oldSelect = select,
                                              rescape = /'|\\/g,
                                  Severity: Major
                                  Found in benchmark/scan/assets/jquery.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 benchmark/scan/assets/jquery.js - About 40 mins to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                              if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) {
                                                  return;
                                              }
                                      Severity: Major
                                      Found in benchmark/scan/assets/jquery.js - About 40 mins to fix

                                        Consider simplifying this complex logical expression.
                                        Open

                                                        if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) {
                                        
                                                            // Don't re-trigger an onFOO event when we call its FOO() method
                                                            old = elem[ ontype ];
                                        
                                        
                                        Severity: Major
                                        Found in benchmark/scan/assets/jquery.js - About 40 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language