angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

Consider simplifying this complex logical expression.
Open

    if ( support.matchesSelector && documentIsHTML &&
        !compilerCache[ expr + " " ] &&
        ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
        ( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {

    Consider simplifying this complex logical expression.
    Open

            if (inImplicitCall() && (tag === 'IF' || tag === 'TRY' || tag === 'FINALLY' || tag === 'CATCH' || tag === 'CLASS' || tag === 'SWITCH')) {
              stack.push([
                'CONTROL', i, {
                  ours: true
                }

      Consider simplifying this complex logical expression.
      Open

              if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
                      support.getById && context.nodeType === 9 && documentIsHTML &&
                      Expr.relative[ tokens[1].type ] ) {
      
                  context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];

        Consider simplifying this complex logical expression.
        Open

            if ( support.matchesSelector && documentIsHTML &&
                !compilerCache[ expr + " " ] &&
                ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
                ( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {
        
        

          Consider simplifying this complex logical expression.
          Open

                  if (m._isValid == null) {
                      m._isValid = !isNaN(m._d.getTime()) &&
                          m._pf.overflow < 0 &&
                          !m._pf.empty &&
                          !m._pf.invalidMonth &&

            Consider simplifying this complex logical expression.
            Open

                    if ( this.options.tolerance === "pointer" ||
                        this.options.forcePointerForContainers ||
                        (this.options.tolerance !== "pointer" && this.helperProportions[this.floating ? "width" : "height"] > item[this.floating ? "width" : "height"])
                    ) {
                        return isOverElement;

              Consider simplifying this complex logical expression.
              Open

                          if (!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) {
                              (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));
                          }

                Consider simplifying this complex logical expression.
                Open

                        if ((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {
                            $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
                                if (that._trigger("stop", event) !== false) {
                                    that._clear();
                                }

                  Consider simplifying this complex logical expression.
                  Open

                              if (!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) {
                                  (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));
                              }

                    Function _generateMonthYearHeader has 8 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                                secondary, monthNames, monthNamesShort) {

                      Consider simplifying this complex logical expression.
                      Open

                                  if (!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) {
                                      (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));
                                  }

                        Consider simplifying this complex logical expression.
                        Open

                                if ($.datepicker._datepickerShowing) {
                                    switch (event.keyCode) {
                                        case 9: $.datepicker._hideDatepicker();
                                                handled = false;
                                                break; // hide on tab out

                          Consider simplifying this complex logical expression.
                          Open

                                  if ((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {
                                      $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
                                          if (that._trigger("stop", event) !== false) {
                                              that._clear();
                                          }

                            Consider simplifying this complex logical expression.
                            Open

                                    if ((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {
                                        $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
                                            if (that._trigger("stop", event) !== false) {
                                                that._clear();
                                            }

                              Consider simplifying this complex logical expression.
                              Open

                                                  } else if (e.type === 'mousedown' || e.type === 'mouseup' || e.type === 'mousemove' || e.type === 'mouseover' || e.type === 'mouseout' || e.type === 'mouseenter' || e.type === 'mouseleave') {
                                                      out.x = e.clientX;
                                                      out.y = e.clientY;
                                                  }

                                Consider simplifying this complex logical expression.
                                Open

                                        if ($.datepicker._datepickerShowing) {
                                            switch (event.keyCode) {
                                                case 9: $.datepicker._hideDatepicker();
                                                        handled = false;
                                                        break; // hide on tab out

                                  Consider simplifying this complex logical expression.
                                  Open

                                          if ((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {
                                              $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
                                                  if (that._trigger("stop", event) !== false) {
                                                      that._clear();
                                                  }

                                    Consider simplifying this complex logical expression.
                                    Open

                                                if (!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) {
                                                    (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));
                                                }

                                      Consider simplifying this complex logical expression.
                                      Open

                                              if ( this.options.tolerance === "pointer" ||
                                                  this.options.forcePointerForContainers ||
                                                  (this.options.tolerance !== "pointer" && this.helperProportions[this.floating ? "width" : "height"] > item[this.floating ? "width" : "height"])
                                              ) {
                                                  return isOverElement;

                                        Function _generateMonthYearHeader has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                                                    secondary, monthNames, monthNamesShort) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language