Showing 6,856 of 14,752 total issues
Method parse
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static TwoStepTertiaryModel parse(List<List<KnimeTuple>> tupleList, boolean isPMFX, int modelNum,
String mdName, Metadata metadata, String notes) {
final String modelExtension = isPMFX ? "pmf" : "sbml";
- Create a ticketCreate a ticket
Method createSbmlDocument
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static SBMLDocument createSbmlDocument(final FskMetaData template) {
// Creates SBMLDocument for the primary model
final SBMLDocument sbmlDocument = new SBMLDocument(TableReader.LEVEL, TableReader.VERSION);
- Create a ticketCreate a ticket
Method performExecute
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] performExecute(PortObject[] inObjects, ExecutionContext exec)
throws Exception {
MAPPER.enable(DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT);
- Create a ticketCreate a ticket
SettingsHelper
has 30 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class SettingsHelper {
private static final String CFGKEY_FILENAME = "FileName";
private static final String CFGKEY_SHEETNAME = "SheetName";
private static final String CFG_PRESERVE_IDS = "PreserveIds";
- Create a ticketCreate a ticket
ChartSelectionPanel
has 30 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ChartSelectionPanel extends JPanel implements ActionListener,
CellEditorListener, ListSelectionListener {
private static final String ID = "ID";
private static final String SELECTED = "Selected";
- Create a ticketCreate a ticket
KnimeTuple
has 30 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class KnimeTuple implements DataRow {
private KnimeSchema schema;
private DataCell[] cell;
- Create a ticketCreate a ticket
Method loadSettings
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void loadSettings(NodeSettingsRO settings) {
try {
selectedIDs = XmlConverter.xmlToObject(
settings.getString(CFG_SELECTEDIDS),
new ArrayList<String>());
- Create a ticketCreate a ticket
Method deleteFMID
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private int deleteFMID(Connection conn, int level, Object rowEstMID) {
int numDBSuccesses = 0;
Integer firstCLID = DBKernel.getMaxID("ChangeLog");
if (firstCLID == null)
firstCLID = 0;
- Create a ticketCreate a ticket
Method plotFunctionSample
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void plotFunctionSample(XYPlot plot, Plotable plotable, String id,
Color defaultColor, Shape defaultShape, double minX, double maxX,
List<String> warnings) throws ConvertException {
double[][] functionPoints = plotable.getFunctionPoints(paramX, paramY,
unitX, unitY, transformX, transformY, minX, maxX,
- Create a ticketCreate a ticket
Function tokenBase
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next(),
mightBeFunction = false,
isEQName = isEQNameAhead(stream);
- Create a ticketCreate a ticket
File FittedParameterViewNodeDialog.java
has 318 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*******************************************************************************
* Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- Create a ticketCreate a ticket
File FSKEditorJSNodeDialog.java
has 318 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
***************************************************************************************************
* Copyright (c) 2017 Federal Institute for Risk Assessment (BfR), Germany
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
- Create a ticketCreate a ticket
Method loadSettings
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void loadSettings(NodeSettingsRO settings) {
try {
addedConditions = XmlConverter.xmlToObject(
settings.getString(CFGKEY_ADDEDCONDITIONS),
new LinkedHashMap<Integer, MiscXml>());
- Create a ticketCreate a ticket
Method mouseClicked
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void mouseClicked(MouseEvent e) {
if (e.getButton() == MouseEvent.BUTTON3 && e.getSource() == table.getTableHeader()) {
int index = table.convertColumnIndexToModel(table.columnAtPoint(e.getPoint()));
String column = table.getModel().getColumnName(index);
- Create a ticketCreate a ticket
Method doLieferkettenTabellen
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
private void doLieferkettenTabellen(final MyTable agenzien, final MyTable matrix, final LinkedHashMap<Object, String> h4) {
LinkedHashMap<Boolean, String> hYNB = new LinkedHashMap<>();
if (DBKernel.getLanguage().equalsIgnoreCase("en")) {hYNB.put(new Boolean(true), "yes"); hYNB.put(new Boolean(false), "no");}
else {hYNB.put(new Boolean(true), "ja"); hYNB.put(new Boolean(false), "nein");}
- Create a ticketCreate a ticket
Method setDateAndMode
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setDateAndMode(final Date date, final Mode mode) {
GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
cal.setTime(date);
- Create a ticketCreate a ticket
Function tokenBase
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
if (stream.sol() && stream.match("=begin") && stream.eol()) {
state.tokenize.push(readBlockComment);
return "comment";
}
- Create a ticketCreate a ticket
Function bind
has 90 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';
var selectionId = container.id + '-container';
- Create a ticketCreate a ticket
Function insert_formula
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function insert_formula(modelNumber) {
function load_category_combo(selected_category) {
var MODEL_CLASSES = ["unknown", "growth", "inactivation", "survival",
"growth/inactivation", "inactivation/survival", "growth/survival",
- Create a ticketCreate a ticket
Function VariableRow
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function VariableRow(variable, is_dependent) {
VariableRowBase.call(this);
// HTML elements
this.isDependentInput = new Input('checkbox');
- Create a ticketCreate a ticket