Showing 14,752 of 14,752 total issues
Function insertChild
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function insertChild(n, d, x, y, x1, y1, x2, y2) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ($.datepicker._datepickerShowing) {
switch (event.keyCode) {
case 9: $.datepicker._hideDatepicker();
handled = false;
break; // hide on tab out
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
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();
}
- Create a ticketCreate a ticket
Function _generateMonthYearHeader
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
secondary, monthNames, monthNamesShort) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
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 })));
}
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
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;
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ((hist.lastOp == opId ||
hist.lastOrigin == change.origin && change.origin &&
((change.origin.charAt(0) == "+" && hist.lastModTime > time - (doc.cm ? doc.cm.options.historyEventDelay : 500)) ||
change.origin.charAt(0) == "*")) &&
(cur = lastChangeEvent(hist, hist.lastOp == opId))) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (!update.force &&
update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&
(display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&
display.renderedView == display.view && countDirtyView(cm) == 0)
{ return false }
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (startsBefore || span.from == startCh && marker.type == "bookmark" && (!isInsert || !span.marker.insertLeft)) {
var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh)
;(nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to))
}
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (endsAfter || span.from == endCh && marker.type == "bookmark" && (!isInsert || span.marker.insertLeft)) {
var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh)
;(nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,
span.to == null ? null : span.to - endCh))
}
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ((hist.lastOp == opId ||
hist.lastOrigin == change.origin && change.origin &&
((change.origin.charAt(0) == "+" && hist.lastModTime > time - (doc.cm ? doc.cm.options.historyEventDelay : 500)) ||
change.origin.charAt(0) == "*")) &&
(cur = lastChangeEvent(hist, hist.lastOp == opId))) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (endsAfter || span.from == endCh && marker.type == "bookmark" && (!isInsert || span.marker.insertLeft)) {
var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh)
;(nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,
span.to == null ? null : span.to - endCh))
}
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (!update.force &&
update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&
(display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&
display.renderedView == display.view && countDirtyView(cm) == 0)
{ return false }
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (startsBefore || span.from == startCh && marker.type == "bookmark" && (!isInsert || !span.marker.insertLeft)) {
var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh)
;(nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to))
}
- Create a ticketCreate a ticket
Function autocomplete
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function autocomplete(originalname, inp, arr, store, schema, uischema, fieldName,currentArea) {
- Create a ticketCreate a ticket
Function invariant
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function invariant(condition, format, a, b, c, d, e, f) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (objCtor != othCtor &&
('constructor' in object && 'constructor' in other) &&
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
return false;
- Create a ticketCreate a ticket
Function createWrapper
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
- Create a ticketCreate a ticket
Function _fill_yearsView
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_fill_yearsView: function(selector, cssClass, factor, step, currentYear, startYear, endYear, callback){
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (aCtor !== bCtor && !(_.isFunction(aCtor) && aCtor instanceof aCtor &&
_.isFunction(bCtor) && bCtor instanceof bCtor)
&& ('constructor' in a && 'constructor' in b)) {
return false;
}
- Create a ticketCreate a ticket