Showing 235 of 1,765 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

                        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

                        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

                        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

Avoid deeply nested control flow statements.
Open

                    else if (eventTarget === self.currentYearElement) {
                        changeYear(self.currentYear - delta);
                    }
                    else if (self.config.enableTime) {
                        if (!isTimeObj && self.hourElement)
Severity: Major
Found in public/js/vendor-vue-flatpickr.js - About 45 mins to fix

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

function drawBorder(ctx, element, offset, spacing, endAngle, circular) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                    else if (!isBackSlash)
                        regexStr += ".";
Severity: Major
Found in public/js/vendor-vue-flatpickr.js - About 45 mins to fix

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

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

                        if (e.ctrlKey) {
                            e.stopPropagation();
                            changeYear(self.currentYear - delta);
                            focusOnDay(getFirstAvailableDay(1), 0);
                        }
Severity: Major
Found in public/js/vendor-vue-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

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 _applyDecs2305 has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

  function _applyDecs2305(e, t, r, a, n, i) {
Severity: Minor
Found in public/external/@shopify/draggable/build/umd/index.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 (e.ctrlKey) {
                                e.stopPropagation();
                                changeYear(self.currentYear - delta);
                                focusOnDay(getFirstAvailableDay(1), 0);
                            }
Severity: Major
Found in public/external/flatpickr/dist/flatpickr.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 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 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

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
Severity
Category
Status
Source
Language