Showing 6,856 of 14,752 total issues
Method parse
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static OneStepSecondaryModel parse(List<KnimeTuple> tuples, boolean isPMFX, String mdName, int modelNum,
Metadata metadata, String notes) {
final String modelExtension = isPMFX ? ".pmf" : ".sbml";
KnimeTuple firstTuple = tuples.get(0);
- Create a ticketCreate a ticket
Method saveSettingsTo
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void saveSettingsTo(NodeSettingsWO settings)
throws InvalidSettingsException {
if (!nParamSpaceField.isValueValid() || !nLevenbergField.isValueValid()
|| minimumFields == null || maximumFields == null) {
- Create a ticketCreate a ticket
Method parse
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static KnimeTuple parse(PrimaryModelWOData pm) {
// Add cells to the row
KnimeTuple row = new KnimeTuple(SchemaFactory.createM1DataSchema());
// time series cells
- Create a ticketCreate a ticket
Method createDataset
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private XYDataset createDataset() {
series2.clear();
Datenpunkte = "";
for (int i=0;i<table1.getModel().getRowCount();i++) {
- Create a ticketCreate a ticket
Method main
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void main(final String[] args) { // Servervariante
isServer = true;
if (args.length > 1) {
if (args[1] != null) {
dbFolder = args[1] + "/data/";
- Create a ticketCreate a ticket
Method mergeIDs
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void mergeIDs() {
System.err.println("Merging...");
try {
//FileInputStream is = new FileInputStream("C:\\Users\\Armin\\Desktop\\AllKrisen\\EFSA\\mergeList.xls");
FileInputStream is = new FileInputStream(DBKernel.HSHDB_PATH + "mergeList.xls");
- Create a ticketCreate a ticket
Method insertDouble
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private int insertDouble(final Double value, final Double stdDev, final Integer numValues) {
if (value == null || Double.isNaN(value) || Double.isInfinite(value)) return -1;
PreparedStatement psInsertDouble;
ResultSet result;
- Create a ticketCreate a ticket
Method savePortObject
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void savePortObject(final FskPortObject portObject, final PortObjectZipOutputStream out,
final ExecutionMonitor exec) throws IOException, CanceledExecutionException {
// model entry (file with model script)
out.putNextEntry(new ZipEntry(MODEL));
- Create a ticketCreate a ticket
Method retrieveReference
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Reference retrieveReference(String[][] values, int row) {
final String isReferenceDescriptionString = values[row][RakipColumn.K.ordinal()];
final String doi = values[row][RakipColumn.O.ordinal()];
- Create a ticketCreate a ticket
Method actionPerformed
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
if (m_directoryEnvironmentButton.isSelected()) {
- Create a ticketCreate a ticket
Method createAllPossibleSimulations
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void createAllPossibleSimulations(
FskPortObject firstFskObj,
FskPortObject secondFskObj,
CombinedFskPortObject outObj ) {
- Create a ticketCreate a ticket
Method retrieveReference
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Reference retrieveReference(String[][] values, int row) {
final String isReferenceDescriptionString = values[row][RakipColumn.K.ordinal()];
final String doi = values[row][RakipColumn.O.ordinal()];
- Create a ticketCreate a ticket
Method retrieveReference
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Reference retrieveReference(String[][] values, int row) {
final String isReferenceDescriptionString = values[row][RakipColumn.K.ordinal()];
final String doi = values[row][RakipColumn.O.ordinal()];
- Create a ticketCreate a ticket
Method addModificationDate
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void addModificationDate(Model modelMetadata) {
Date dateJavaFormat = new Date();
LocalDate dateThreeTenFormat = Instant.ofEpochMilli(dateJavaFormat.getTime()).atZone(ZoneId.systemDefault()).toLocalDate();
String modelType = modelMetadata.getModelType();
if(modelType.equalsIgnoreCase( "genericModel")) {
- Create a ticketCreate a ticket
Method saveOutputParameters
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void saveOutputParameters(FskPortObject fskObj, Path workingDirectory)
throws VariableNotGlobalException, IOException {
StringBuilder script = new StringBuilder();
- Create a ticketCreate a ticket
Method getLiteratureItem
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static LiteratureItem getLiteratureItem(Connection conn, Integer id, String dbuuid) {
String author = (String) DBKernel.getValue(conn, "Literatur", "ID", id
+ "", "Erstautor");
String title = (String) DBKernel.getValue(conn, "Literatur", "ID", id
+ "", "Titel");
- Create a ticketCreate a ticket
Method copyFilesToEnvironment
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Optional<Path> copyFilesToEnvironment(Optional<Path> environment){
List<Path> filePaths = new ArrayList<>();
try {
for (String filePath : files) {
- Create a ticketCreate a ticket
Method getEnvironment
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Optional<Path> getEnvironment() {
if (archivePath == null || archivePath.isEmpty())
return Optional.empty();
- Create a ticketCreate a ticket
Method performPaste
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void performPaste() {
int startRow = getSelectedRows()[0];
int startCol = getSelectedColumns()[0];
Clipboard system = Toolkit.getDefaultToolkit().getSystemClipboard();
String trstring = null;
- Create a ticketCreate a ticket
Method importFlowVariables
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Collection<FlowVariable> importFlowVariables(String variableName) throws RException {
checkInitialized();
final List<FlowVariable> flowVars = new ArrayList<>();
- Create a ticketCreate a ticket