Showing 1,783 of 1,785 total issues

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

                    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

                        else if (!isBackSlash)
                            regexStr += "."; // don't really care
Severity: Major
Found in public/external/flatpickr/dist/flatpickr.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                        else if (self.hourElement)
                            self.hourElement.focus();
Severity: Major
Found in public/external/flatpickr/dist/flatpickr.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            if (i !== -1) {
                                var target = elems[i + (e.shiftKey ? -1 : 1)];
                                e.preventDefault();
                                (target || self._input).focus();
                            }
Severity: Major
Found in public/external/flatpickr/dist/flatpickr.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    else if (!self.config.noCalendar &&
                        self.daysContainer &&
                        self.daysContainer.contains(eventTarget) &&
                        e.shiftKey) {
                        e.preventDefault();
Severity: Major
Found in public/js/vendor-vue-flatpickr.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 ( 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 (!self.config.noCalendar &&
                            self.daysContainer &&
                            self.daysContainer.contains(eventTarget) &&
                            e.shiftKey) {
                            e.preventDefault();
Severity: Major
Found in public/external/flatpickr/dist/flatpickr.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

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

function render(_ctx, _cache, $props, $setup, $data, $options) {
Severity: Minor
Found in public/js/atk-vue-query-builder.js - About 45 mins to fix

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

function renderText(ctx, text, x, y, font, opts = {}) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 45 mins to fix

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

function getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) {
Severity: Minor
Found in public/external/chart.js/dist/chart.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 ( ( 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

                        while (wrapper.firstChild)
                            wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper);
Severity: Major
Found in public/external/flatpickr/dist/flatpickr.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 ( 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 (const rule of validationRule) {
                            isAndValid = isAndValid && atk.formService.validateField(this.$el, inputName, rule);
                        }
Severity: Major
Found in js/src/plugins/conditional-form.plugin.js - About 45 mins to fix

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

function render(_ctx, _cache, $props, $setup, $data, $options) {
Severity: Minor
Found in public/js/atk-vue-query-builder.js - About 45 mins to fix
Severity
Category
Status
Source
Language