Showing 6,856 of 14,752 total issues
Method createUI
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
FPanel simulationPanel = new FPanel();
simulationPanel.setLayout(new BorderLayout());
JScrollPane parametersPane = new JScrollPane(
- Create a ticketCreate a ticket
Method loadPortObject
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public FskPortObject loadPortObject(PortObjectZipInputStream in, PortObjectSpec spec, ExecutionMonitor exec)
throws IOException, CanceledExecutionException {
FskPortObject portObj = new FskPortObject();
- Create a ticketCreate a ticket
Method createUI
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
FPanel simulationPanel = new FPanel();
simulationPanel.setLayout(new BorderLayout());
JScrollPane parametersPane = new JScrollPane(
- Create a ticketCreate a ticket
Method getParameter
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public DataArray getParameter() {
try {
if (isOutputClosed) {
// open Json file stream if it isn't already open
if (isInputClosed) {
- Create a ticketCreate a ticket
Method manageColor
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void manageColor() {
Color fg = Color.BLACK;
Color bg = Color.WHITE;
if (object != null) {
String param = object.toString();
- Create a ticketCreate a ticket
Method loadSettingsFrom
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void loadSettingsFrom(NodeSettingsRO settings,
PortObject[] inObjects) throws NotConfigurableException {
PCMLPortObject pcmlPortObject = (PCMLPortObject) inObjects[0];
PCMLDocument pcmlDoc = pcmlPortObject.getPcmlDoc();
- Create a ticketCreate a ticket
Method waitWhile
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected void waitWhile(final NodeContainer nc,
final Hold hold) throws Exception {
if (!hold.shouldHold()) {
return;
}
- Create a ticketCreate a ticket
Function x86
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function x86(_parserConfig) {
lineCommentStartSymbol = "#";
registers.ax = "variable";
registers.eax = "variable-2";
- Create a ticketCreate a ticket
Function tokenBase
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (/[\d\.]/.test(ch)) {
if (ch == ".") {
- Create a ticketCreate a ticket
Function tokenBase
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (ch == '"' || ch == "'") {
state.tokenize = tokenString(ch);
return state.tokenize(stream, state);
- 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 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 update
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
MultipleSelection.prototype.update = function (data) {
this.clear();
if (data.length === 0) {
return;
- Create a ticketCreate a ticket
Function constructor
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(settings, $container, metadata, uploadDates, executionTimes) {
let O = this;
O._$container = $container;
O._$wrapper = null;
O.totalRows = 0;
- Create a ticketCreate a ticket
Function _create
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create(name, mandatory, helperText, value) {
let O = this;
// formgroup
let $formGroup = $( '<div class="form-group row"></div>' );
- Create a ticketCreate a ticket
Function makeArray
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
makeArray: function(data) {
var count, obj, result = [], item, iterateItem;
if(!data || typeof data === 'string') {
return null;
}
- Create a ticketCreate a ticket
Function d3_rgb_parse
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_rgb_parse(format, rgb, hsl) {
var r = 0, g = 0, b = 0, m1, m2, name;
m1 = /([a-z]+)\((.*)\)/i.exec(format);
if (m1) {
m2 = m1[2].split(",");
- Create a ticketCreate a ticket
Function deleteFunctionObject
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function deleteFunctionObject(internalId,dbuuid)
{
deleteMetaDataSection(internalId,dbuuid);
removeModel(internalId,dbuuid);
updateParameterSliders();
- Create a ticketCreate a ticket
Function _slide
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_slide: function( event, index, newVal ) {
var otherVal,
newValues,
allowed;
- 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