jacquev6/variadic

View on GitHub

Showing 164 of 201 total issues

Function off has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    off: function( types, selector, fn ) {
        var handleObj, type;
        if ( types && types.preventDefault && types.handleObj ) {

            // ( event )  dispatched jQuery.Event
Severity: Minor
Found in docs/_static/jquery-3.2.1.js - About 1 hr to fix

    Function when has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        when: function( singleValue ) {
            var
    
                // count of uncompleted subordinates
                remaining = arguments.length,
    Severity: Minor
    Found in docs/_static/jquery-3.2.1.js - About 1 hr to fix

      Function getComments has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        function getComments(id) {
          $.ajax({
           type: 'GET',
           url: opts.getCommentsURL,
           data: {node: id},
      Severity: Minor
      Found in docs/_static/websupport.js - About 1 hr to fix

        Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function propFilter( props, specialEasing ) {
            var index, name, easing, value, hooks;
        
            // camelCase, specialEasing and expand cssHook pass
            for ( index in props ) {
        Severity: Minor
        Found in docs/_static/jquery-3.2.1.js - About 1 hr to fix

          Function clone has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                  var i, l, srcElements, destElements,
                      clone = elem.cloneNode( true ),
                      inPage = jQuery.contains( elem.ownerDocument, elem );
          
          
          Severity: Minor
          Found in docs/_static/jquery-3.2.1.js - About 1 hr to fix

            Function addClass has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                addClass: function( value ) {
                    var classes, elem, cur, curValue, clazz, j, finalValue,
                        i = 0;
            
                    if ( jQuery.isFunction( value ) ) {
            Severity: Minor
            Found in docs/_static/jquery-3.2.1.js - About 1 hr to fix

              Function remove has 26 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  remove: function( owner, key ) {
                      var i,
                          cache = owner[ this.expando ];
              
                      if ( cache === undefined ) {
              Severity: Minor
              Found in docs/_static/jquery-3.2.1.js - About 1 hr to fix

                Function augmentWidthOrHeight has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
                    var i,
                        val = 0;
                
                    // If we already have the right measurement, avoid augmentation
                Severity: Minor
                Found in docs/_static/jquery-3.2.1.js - About 1 hr to fix

                  Consider simplifying this complex logical expression.
                  Open

                      if ( support.matchesSelector && documentIsHTML &&
                          !compilerCache[ expr + " " ] &&
                          ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
                          ( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {
                  
                  
                  Severity: Major
                  Found in docs/_static/jquery-3.2.1.js - About 1 hr to fix

                    Function access has 7 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
                    Severity: Major
                    Found in docs/_static/jquery-3.2.1.js - About 50 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                      } else if ( match[2] ) {
                                          push.apply( results, context.getElementsByTagName( selector ) );
                                          return results;
                      
                                      // Class selector
                      Severity: Major
                      Found in docs/_static/jquery-3.2.1.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                    if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
                                                        return true;
                                                    }
                        Severity: Major
                        Found in docs/_static/jquery-3.2.1.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                      if ( !(unmatched[i] || setMatched[i]) ) {
                                                          setMatched[i] = pop.call( results );
                                                      }
                          Severity: Major
                          Found in docs/_static/jquery-3.2.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 docs/_static/jquery-3.2.1.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                  if ( copyIsArray ) {
                                                      copyIsArray = false;
                                                      clone = src && Array.isArray( src ) ? src : [];
                              
                                                  } else {
                              Severity: Major
                              Found in docs/_static/jquery-3.2.1.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                        if ( node && node.value === id ) {
                                                            return [ elem ];
                                                        }
                                Severity: Major
                                Found in docs/_static/jquery-3.2.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 docs/_static/jquery-3.2.1.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

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

                                      Avoid deeply nested control flow statements.
                                      Open

                                                          if ( Expr.relative[ tokens[j].type ] ) {
                                                              break;
                                                          }
                                      Severity: Major
                                      Found in docs/_static/jquery-3.2.1.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                if ( matchedSelectors[ sel ] ) {
                                                                    matchedHandlers.push( handleObj );
                                                                }
                                        Severity: Major
                                        Found in docs/_static/jquery-3.2.1.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language