public/external/jquery/dist/jquery.js

Summary

Maintainability
F
4 days
Test Coverage

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 public/external/jquery/dist/jquery.js - About 50 mins to fix

Avoid deeply nested control flow statements.
Open

                        if ( matchedSelectors[ sel ] ) {
                            matchedHandlers.push( handleObj );
                        }
Severity: Major
Found in public/external/jquery/dist/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 public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( newContext != context || !support.scope ) {

                        // Capture the context ID, setting it first if necessary
                        if ( ( nid = context.getAttribute( "id" ) ) ) {
                            nid = jQuery.escapeSelector( nid );
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( Expr.relative[ tokens[ j ].type ] ) {
                        break;
                    }
Severity: Major
Found in public/external/jquery/dist/jquery.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 ( isFunction( this[ match ] ) ) {
                                this[ match ]( context[ match ] );
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                        if ( attrs[ i ] ) {
                            name = attrs[ i ].name;
                            if ( name.indexOf( "data-" ) === 0 ) {
                                name = camelCase( name.slice( 5 ) );
                                dataAttr( elem, name, data[ name ] );
Severity: Major
Found in public/external/jquery/dist/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 public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                        if ( ( elem = matcherOut[ i ] ) ) {

                            // Restore matcherIn since elem is not yet a final match
                            temp.push( ( matcherIn[ i ] = elem ) );
                        }
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 45 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 public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( restoreDisplay == null ) {
                        display = style.display;
                        restoreDisplay = display === "none" ? "" : display;
                    }
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( !selector ) {
                        push.apply( results, seed );
                        return results;
                    }
Severity: Major
Found in public/external/jquery/dist/jquery.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 public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( hasScripts ) {

                        // Support: Android <=4.0 only, PhantomJS 1 only
                        // push.apply(_, arraylike) throws on ancient WebKit
                        jQuery.merge( scripts, getAll( node, "script" ) );
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                                    if ( ofType ?
                                        nodeName( node, name ) :
                                        node.nodeType === 1 ) {

                                        return false;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                                    if ( ( ofType ?
                                        nodeName( node, name ) :
                                        node.nodeType === 1 ) &&
                                        ++diff ) {

Severity: Major
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( rscriptType.test( node.type || "" ) &&
                        !dataPriv.access( node, "globalEval" ) &&
                        jQuery.contains( doc, node ) ) {

                        if ( node.src && ( node.type || "" ).toLowerCase()  !== "module" ) {
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( nodeType === 9 ) {
                        if ( ( elem = context.getElementById( m ) ) ) {

                            // Support: IE 9 only
                            // getElementById can match elements by name instead of ID
Severity: Major
Found in public/external/jquery/dist/jquery.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 public/external/jquery/dist/jquery.js - About 45 mins to fix

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

function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    while ( i-- ) {
                        groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " +
                            toSelector( groups[ i ] );
                    }
Severity: Major
Found in public/external/jquery/dist/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 public/external/jquery/dist/jquery.js - About 45 mins to fix

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

function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    if ( copyIsArray && !Array.isArray( src ) ) {
                        clone = [];
                    } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {
                        clone = {};
                    } else {
Severity: Major
Found in public/external/jquery/dist/jquery.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 public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                        if ( matchedSelectors[ sel ] === undefined ) {
                            matchedSelectors[ sel ] = handleObj.needsContext ?
                                jQuery( sel, this ).index( cur ) > -1 :
                                jQuery.find( sel, this, null, [ cur ] ).length;
                        }
Severity: Major
Found in public/external/jquery/dist/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 public/external/jquery/dist/jquery.js - About 45 mins to fix

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

function on( elem, types, selector, data, fn, one ) {
Severity: Minor
Found in public/external/jquery/dist/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 public/external/jquery/dist/jquery.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

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

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

function buildFragment( elems, context, scripts, selection, ignored ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 35 mins to fix

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

        superMatcher = function( seed, context, xml, results, outermost ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 35 mins to fix

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

function condense( unmatched, map, filter, context, xml ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 35 mins to fix

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

        CHILD: function( type, what, _argument, first, last ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 35 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 public/external/jquery/dist/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 public/external/jquery/dist/jquery.js - About 35 mins to fix

Avoid too many return statements within this function.
Open

                    return result === check || result.slice( 0, check.length + 1 ) === check + "-";
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return root.ready !== undefined ?
                root.ready( selector ) :

                // Execute immediately if ready is not present
                selector( jQuery );
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return elem[ name ];
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return check && result.indexOf( check ) === 0;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return ret;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    return data;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return elem.disabled === disabled;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return results;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return jQuery.makeArray( selector, this );
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return compare & 4 ? -1 : 1;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return ret == null ? undefined : ret;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return results;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return results;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    return select( selector.replace( rtrimCSS, "$1" ), context, results, seed );
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return false;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return false;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return JSON.parse( data );
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return check && result.slice( -check.length ) === check;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return ( " " + result.replace( rwhitespace, " " ) + " " )
                        .indexOf( check ) > -1;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return sortInput ?
                ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
                0;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return value;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return this.each( function( i ) {
            var val;

            if ( this.nodeType !== 1 ) {
                return;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return this.constructor( context ).find( selector );
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return check && result.indexOf( check ) > -1;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return this;
Severity: Major
Found in public/external/jquery/dist/jquery.js - About 30 mins to fix

There are no issues that match your filters.

Category
Status