Showing 6,856 of 14,752 total issues
Method execute
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(final PortObject[] inData, final ExecutionContext exec)
throws Exception {
FskPortObject portObject = (FskPortObject) inData[0];
- Create a ticketCreate a ticket
Method createUI
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
// Model type panel
final JPanel modelTypePanel = new JPanel(new BorderLayout());
modelTypePanel.setBorder(
- Create a ticketCreate a ticket
Method useCurrentResults
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void useCurrentResults(List<Double> startValues) {
double cost = optimizerValues.getCost();
parameterValues = new ArrayList<>(parameters.size());
sse = cost * cost;
- Create a ticketCreate a ticket
Method fetchConditions
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private List<ConditionsData> fetchConditions(BufferedDataTable table) {
/**
* Two types of conditions tables:
* <ol>
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
} else if (
// if setext set, indicates line after ---/===
state.setext || (
// line before ---/===
(!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
} else if (ch === "*" || ch === "_") {
var len = 1, before = stream.pos == 1 ? " " : stream.string.charAt(stream.pos - 2)
while (len < 3 && stream.eat(ch)) len++
var after = stream.peek() || " "
// See http://spec.commonmark.org/0.27/#emphasis-and-strong-emphasis
- Create a ticketCreate a ticket
Function token
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
var cur = '';
if(stream.eatSpace()) return null;
// extension started
- Create a ticketCreate a ticket
Function tokenBase
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
curPunc = null;
if (ch == "$" || ch == "?") {
if(ch == "?" && stream.match(/\s/, false)){
- Create a ticketCreate a ticket
Function readToken
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function readToken(stream, state) {
if (stream.sol()) {
// From last line
state.inSeparator = false;
if (state.inHeader && stream.match(whitespace)) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (cx.prev &&
(ch == "}" && (cx.type == "block" || cx.type == "atBlock" || cx.type == "keyframes") ||
ch == ")" && (cx.type == "parens" || cx.type == "atBlock_parens") ||
ch == "{" && (cx.type == "at"))) {
indent = cx.indent - indentUnit;
- Create a ticketCreate a ticket
Function onScrollWheel
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onScrollWheel(cm, e) {
var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;
var display = cm.display, scroll = display.scroller;
// Quit if there's nothing to scroll here
- Create a ticketCreate a ticket
Function CodeMirror
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function CodeMirror(place, options) {
var this$1 = this;
if (!(this instanceof CodeMirror)) { return new CodeMirror(place, options) }
- Create a ticketCreate a ticket
Function moveVisually
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function moveVisually(cm, line, start, dir) {
var bidi = getOrder(line, cm.doc.direction);
if (!bidi) { return moveLogically(line, start, dir) }
if (start.ch >= line.text.length) {
start.ch = line.text.length;
- Create a ticketCreate a ticket
Function _prepareDataTable
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async _prepareDataTable(){
_log( 'TABLE MAIN / _prepareDataTable', 'primary' );
let O = this;
// prepare table data
O._tableData = [];
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
var S2;(function () { if (!S2 || !S2.requirejs) {
if (!S2) { S2 = {}; } else { require = S2; }
/**
* @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/almond/LICENSE
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
var S2;(function () { if (!S2 || !S2.requirejs) {
if (!S2) { S2 = {}; } else { require = S2; }
/**
* @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
- Create a ticketCreate a ticket
Function bind
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Search.prototype.bind = function (decorated, container, $container) {
var self = this;
var resultsId = container.id + '-results';
- Create a ticketCreate a ticket
Function _fill_yearsView
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_fill_yearsView: function(selector, cssClass, factor, year, startYear, endYear, beforeFn){
var html = '';
var step = factor / 10;
var view = this.picker.find(selector);
var startVal = Math.floor(year / factor) * factor;
- Create a ticketCreate a ticket
Function d3_interpolateTransform
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_interpolateTransform(a, b) {
var s = [], q = [], n, A = d3.transform(a), B = d3.transform(b), ta = A.translate, tb = B.translate, ra = A.rotate, rb = B.rotate, wa = A.skew, wb = B.skew, ka = A.scale, kb = B.scale;
if (ta[0] != tb[0] || ta[1] != tb[1]) {
s.push("translate(", null, ",", null, ")");
q.push({
- Create a ticketCreate a ticket
Function d3_scale_linear
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_scale_linear(domain, range, interpolate, clamp) {
var output, input;
function rescale() {
var linear = Math.min(domain.length, range.length) > 2 ? d3_scale_polylinear : d3_scale_bilinear, uninterpolate = clamp ? d3_uninterpolateClamp : d3_uninterpolateNumber;
output = linear(domain, range, uninterpolate, interpolate);
- Create a ticketCreate a ticket