azproduction/autopolyfiller

View on GitHub

Showing 120 of 135 total issues

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

                          Consider simplifying this complex logical expression.
                          Open

                                          if ( unit !== "px" && start ) {
                                              // Iteratively approximate from a nonzero starting point
                                              // Prefer the current property, because this process will be trivial if it uses the same units
                                              // Fallback to end or a simple constant
                                              start = jQuery.css( tween.elem, prop, true ) || end || 1;
                          Severity: Major
                          Found in benchmark/scan/assets/jquery.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 benchmark/scan/assets/jquery.js - About 40 mins to fix

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

                                  remove: function( elem, types, handler, selector, mappedTypes ) {
                              Severity: Minor
                              Found in benchmark/scan/assets/jquery.js - About 35 mins to fix

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

                                var select = function( selector, context, results, seed, xml ) {
                                Severity: Minor
                                Found in benchmark/scan/assets/jquery.js - About 35 mins to fix

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

                                      add: function( elem, types, handler, data, selector ) {
                                  Severity: Minor
                                  Found in benchmark/scan/assets/jquery.js - About 35 mins to fix

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

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

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

                                      function handlePOS( selector, context, results, seed, groups ) {
                                      Severity: Minor
                                      Found in benchmark/scan/assets/jquery.js - About 35 mins to fix

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

                                            on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                        Severity: Minor
                                        Found in benchmark/scan/assets/jquery.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language