Showing 14,752 of 14,752 total issues
Function query
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tags.prototype.query = function (decorated, params, callback) {
var self = this;
this._removeOldTags();
- Create a ticketCreate a ticket
Function query
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tags.prototype.query = function (decorated, params, callback) {
var self = this;
this._removeOldTags();
- Create a ticketCreate a ticket
Function shake
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectShake = $.effects.effect.shake = function( o, done ) {
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "effect" ),
- Create a ticketCreate a ticket
Function updateDoc
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateDoc(doc, change, markedSpans, estimateHeight) {
function spansFor(n) {return markedSpans ? markedSpans[n] : null}
function update(line, text, spans) {
updateLine(line, text, spans, estimateHeight)
signalLater(line, "change", line, change)
- Create a ticketCreate a ticket
Function add
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add(data) {
// Add new row (Order is fixed by formData)
let newRow = document.createElement("tr");
- Create a ticketCreate a ticket
Function updateDoc
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateDoc(doc, change, markedSpans, estimateHeight) {
function spansFor(n) {return markedSpans ? markedSpans[n] : null}
function update(line, text, spans) {
updateLine(line, text, spans, estimateHeight)
signalLater(line, "change", line, change)
- Create a ticketCreate a ticket
Function 16
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],16:[function(require,module,exports){
'use strict';
module.exports = function generate_allOf(it, $keyword, $ruleType) {
var out = ' ';
var $schema = it.schema[$keyword];
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (tableName.equals("Modellkatalog") || tableName.equals("ModellkatalogParameter") || tableName.equals("Modell_Referenz") || tableName.equals("GeschaetzteModelle")
|| tableName.equals("GeschaetztesModell_Referenz") || tableName.equals("GeschaetzteParameter") || tableName.equals("GeschaetzteParameterCovCor")
|| tableName.equals("Sekundaermodelle_Primaermodelle") || tableName.equals("GueltigkeitsBereiche")) odsn = false;
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (carverID >= 1 && carverID <= 31 || carverID == 332 ||
carverID >= 217 && carverID <= 220 ||
carverID >= 295 && carverID <= 307 ||
carverID >= 338 && carverID <= 340) result = true; // Material
else if (carverID >= 280 && carverID <= 290 || carverID == 342) result = true; // Verpackung
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (names != null && units != null && types != null && mins != null && maxs != null
&& names.length == units.length && names.length == types.length
&& names.length == mins.length && names.length == maxs.length) {
for (int i = 0; i < names.length; i++) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ((current == 0x9) ||
(current == 0xA) ||
(current == 0xD) ||
((current >= 0x20) && (current <= 0xD7FF)) ||
((current >= 0xE000) && (current <= 0xFFFD)) ||
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (ltr) {
topLeft = docLTR && openStart && first ? leftSide : fromPos.left;
topRight = docLTR ? rightSide : wrapX(from, dir, "before");
botLeft = docLTR ? leftSide : wrapX(to, dir, "after");
botRight = docLTR && openEnd && last ? rightSide : toPos.right;
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (cm.options.dragDrop && dragAndDrop && !cm.isReadOnly() &&
repeat == "single" && (contained = sel.contains(pos)) > -1 &&
(cmp((contained = sel.ranges[contained]).from(), pos) < 0 || pos.xRel > 0) &&
(cmp(contained.to(), pos) > 0 || pos.xRel < 0))
{ leftButtonStartDrag(cm, event, pos, behavior); }
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ( _isUndefined( value )
|| _isNull( value )
|| typeof value == 'object' && Object.keys( value ).length === 0 && value.constructor === Object
|| typeof value == 'object' && value.length == 1 && _isNull( value[0] )
|| value.length <= 0 ) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (this.floating && horizontalDirection) {
return ((horizontalDirection === "right" && isOverRightHalf) || (horizontalDirection === "left" && !isOverRightHalf));
} else {
return verticalDirection && ((verticalDirection === "down" && isOverBottomHalf) || (verticalDirection === "up" && !isOverBottomHalf));
}
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if(!(/^(document|window|parent)$/).test(o.containment)) {
ce = $(o.containment)[0];
co = $(o.containment).offset();
over = ($(ce).css("overflow") !== "hidden");
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ( ( ( $target[0].id !== $.datepicker._mainDivId &&
$target.parents("#" + $.datepicker._mainDivId).length === 0 &&
!$target.hasClass($.datepicker.markerClassName) &&
!$target.closest("." + $.datepicker._triggerClass).length &&
$.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (cm.options.dragDrop && dragAndDrop && !cm.isReadOnly() &&
repeat == "single" && (contained = sel.contains(pos)) > -1 &&
(cmp((contained = sel.ranges[contained]).from(), pos) < 0 || pos.xRel > 0) &&
(cmp(contained.to(), pos) > 0 || pos.xRel < 0))
{ leftButtonStartDrag(cm, event, pos, behavior) }
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (ltr) {
topLeft = docLTR && openStart && first ? leftSide : fromPos.left
topRight = docLTR ? rightSide : wrapX(from, dir, "before")
botLeft = docLTR ? leftSide : wrapX(to, dir, "after")
botRight = docLTR && openEnd && last ? rightSide : toPos.right
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (ltr) {
topLeft = docLTR && openStart && first ? leftSide : fromPos.left
topRight = docLTR ? rightSide : wrapX(from, dir, "before")
botLeft = docLTR ? leftSide : wrapX(to, dir, "after")
botRight = docLTR && openEnd && last ? rightSide : toPos.right
- Create a ticketCreate a ticket