azproduction/autopolyfiller

View on GitHub

Showing 120 of 135 total issues

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

                        if ( elem && elem.parentNode ) {
                            // Handle the case where IE, Opera, and Webkit return items
                            // by name instead of ID
                            if ( elem.id === m ) {
                                results.push( elem );
    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 ( 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 ( xhrOnUnloadAbort ) {
                                                  delete xhrCallbacks[ handle ];
                                              }
          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

              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 ( 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

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

                    function handlePOSGroup( selector, posfilter, argument, contexts, seed, not ) {
                    Severity: Minor
                    Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                          if ( !selector ) {
                                              push.apply( results, slice.call(elements, 0) );
                                          }
                      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

                                                  if ( elem.id !== match[2] ) {
                                                      return rootjQuery.find( selector );
                                                  }
                          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

                                                      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

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

                                    init: function( elem, options, prop, end, easing, unit ) {
                                Severity: Minor
                                Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                          while ( className.indexOf(" " + removes[ c ] + " ") > -1 ) {
                                                              className = className.replace( " " + removes[ c ] + " " , " " );
                                                          }
                                  Severity: Major
                                  Found in benchmark/scan/assets/jquery.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                            if ( deleteExpando ) {
                                                                delete elem[ internalKey ];
                                    
                                                            } else if ( elem.removeAttribute ) {
                                                                elem.removeAttribute( internalKey );
                                    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

                                                            if ( copyIsArray ) {
                                                                copyIsArray = false;
                                                                clone = src && jQuery.isArray(src) ? src : [];
                                        
                                                            } else {
                                        Severity: Major
                                        Found in benchmark/scan/assets/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language