Showing 6,856 of 14,752 total issues
Function _makeDraggable
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_makeDraggable: function() {
var that = this,
options = this.options;
function filteredUi( ui ) {
- Create a ticketCreate a ticket
Function _eventHandler
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_eventHandler: function( event ) {
var options = this.options,
active = this.active,
anchor = $( event.currentTarget ),
tab = anchor.closest( "li" ),
- Create a ticketCreate a ticket
Function extendTo
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function extendTo(pos) {
if (cmp(lastPos, pos) == 0) { return }
lastPos = pos
if (behavior.unit == "rectangle") {
- Create a ticketCreate a ticket
Function patchDisplay
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function patchDisplay(cm, updateNumbersFrom, dims) {
var display = cm.display, lineNumbers = cm.options.lineNumbers
var container = display.lineDiv, cur = container.firstChild
function rm(node) {
- Create a ticketCreate a ticket
Function extendTo
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function extendTo(pos) {
if (cmp(lastPos, pos) == 0) { return }
lastPos = pos
if (behavior.unit == "rectangle") {
- Create a ticketCreate a ticket
Function patchDisplay
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function patchDisplay(cm, updateNumbersFrom, dims) {
var display = cm.display, lineNumbers = cm.options.lineNumbers
var container = display.lineDiv, cur = container.firstChild
function rm(node) {
- Create a ticketCreate a ticket
Function highlightLine
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function highlightLine(cm, line, context, forceToEnd) {
// A styles array always starts with a number identifying the
// mode/overlays that it is based on (for easy invalidation).
var st = [cm.state.modeGen], lineClasses = {}
// Compute the base array of styles
- Create a ticketCreate a ticket
Function ReactElement
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var ReactElement = function (type, key, ref, self, source, owner, props) {
var element = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: REACT_ELEMENT_TYPE,
- Create a ticketCreate a ticket
Function createWrapper
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
var isBindKey = bitmask & BIND_KEY_FLAG;
if (!isBindKey && typeof func != 'function') {
throw new TypeError(FUNC_ERROR_TEXT);
}
- Create a ticketCreate a ticket
Function baseMergeDeep
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function baseMergeDeep(object, source, key, mergeFunc, customizer, stackA, stackB) {
var length = stackA.length,
srcValue = source[key];
while (length--) {
- Create a ticketCreate a ticket
Function throttle
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_.throttle = function(func, wait, options) {
var timeout, context, args, result;
var previous = 0;
if (!options) options = {};
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (selected.equals(XLSReader.ID_COLUMN) || selected.equals("Comment")
|| selected.equals(AttributeUtilities.TIME)
|| selected.equals(AttributeUtilities.CONCENTRATION)
|| selected.equals(XLSReader.CONCENTRATION_STDDEV_COLUMN)
|| selected.equals(XLSReader.CONCENTRATION_MEASURE_NUMBER)
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (thePM.getRsquared() != null && !Double.isNaN(thePM.getRsquared()) ||
thePM.getRms() != null && !Double.isNaN(thePM.getRms()) ||
thePM.getAic() != null && !Double.isNaN(thePM.getAic()) ||
thePM.getBic() != null && !Double.isNaN(thePM.getBic()))
return true;
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (tn2.equals("Literatur") && id <= 231 || tn2.equals("Methoden") && id <= 1481 ||
tn2.equals("Kontakte") && id <= 119 || tn2.equals("Messwerte") && id <= 18) {
}
else {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ((conn == null || conn.isClosed() || !isAdminConnection && doAdmin) && dbUsername != null && dbPassword != null && dbPath != null && path2XmlFile != null) {
establishDefaultAdminConn();
isAdminConnection = true;
}
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ((conn == null || conn.isClosed() || isAdminConnection && !doAdmin) && dbUsername != null && dbPassword != null && dbPath != null && path2XmlFile != null) {
establishDBConnection(dbUsername, dbPassword);
isAdminConnection = false;
}
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (toksT.length > 0) {
Category modelUnitCat = modelUnit == null ? null : Categories.getCategoryByUnit(modelUnit);
Category timeUnitCat = timeUnit == null ? null : Categories.getCategoryByUnit(timeUnit);
int i=0;
for (Object time : toksT) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (type == "async" ||
(type == "variable" &&
(value == "static" || value == "get" || value == "set" || (isTS && isModifier(value))) &&
cx.stream.match(/^\s+[\w$\xa1-\uffff]/, false))) {
cx.marked = "keyword";
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (/@|\$|\d/.test(ch) ||
/^\{/.test(textAfter) ||
/^\s*\/(\/|\*)/.test(textAfter) ||
/^\s*\/\*/.test(prevLineFirstWord) ||
/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(textAfter) ||
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ((state.prevToken == "operator" && textAfter != "}" && state.context.type != "}") ||
state.prevToken == "variable" && firstChar == "." ||
(state.prevToken == "}" || state.prevToken == ")") && firstChar == ".")
return indentUnit * 2 + ctx.indented;
- Create a ticketCreate a ticket