Showing 14,752 of 14,752 total issues
Method retrieveBackground
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public PredictiveModelDataBackground retrieveBackground(Sheet sheet) {
PredictiveModelDataBackground background = new PredictiveModelDataBackground();
try {
Study study = retrieveStudy(sheet);
background.setStudy(study);
- Create a ticketCreate a ticket
Method retrieveBackground
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public PredictiveModelDataBackground retrieveBackground(Sheet sheet) {
PredictiveModelDataBackground background = new PredictiveModelDataBackground();
try {
Study study = retrieveStudy(sheet);
- Create a ticketCreate a ticket
Method retrieveBackground
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public PredictiveModelDataBackground retrieveBackground(Sheet sheet) {
PredictiveModelDataBackground background = new PredictiveModelDataBackground();
try {
Study study = retrieveStudy(sheet);
background.setStudy(study);
- Create a ticketCreate a ticket
Method retrieveBackground
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public PredictiveModelDataBackground retrieveBackground(Sheet sheet) {
PredictiveModelDataBackground background = new PredictiveModelDataBackground();
try {
Study study = retrieveStudy(sheet);
- Create a ticketCreate a ticket
Method convert
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Deprecated
public static de.bund.bfr.metadata.swagger.GenericModelModelMath convert(metadata.ModelMath emfMM) {
de.bund.bfr.metadata.swagger.GenericModelModelMath swaggerMM = new de.bund.bfr.metadata.swagger.GenericModelModelMath();
swaggerMM.setFittingProcedure(emfMM.getFittingProcedure());
- Create a ticketCreate a ticket
Method saveSettings
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void saveSettings(NodeSettingsWO settings) {
settings.addString(CFG_SELECTEDIDS,
XmlConverter.objectToXml(selectedIDs));
settings.addString(CFG_COLORS, XmlConverter.colorMapToXml(colors));
settings.addString(CFG_SHAPES, XmlConverter.shapeMapToXml(shapes));
- Create a ticketCreate a ticket
Method loadFromNodeSettings
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void loadFromNodeSettings(NodeSettingsRO settings)
throws InvalidSettingsException {
setChartTitle(settings.getString(ModelPlotterViewConfig.CHART_TITLE));
setY0(settings.getDouble(ModelPlotterViewConfig.Y0));
- Create a ticketCreate a ticket
Method performExecute
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] performExecute(PortObject[] inObjects, ExecutionContext exec) throws Exception {
final BufferedDataTable table = (BufferedDataTable) inObjects[0];
final List<KnimeTuple> tuples = PmmUtilities.getTuples(table, SchemaFactory.createM1DataSchema());
- Create a ticketCreate a ticket
Method toParam
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Param toParam(ParamXml paramXml) {
Param param = new Param();
param.name = paramXml.name;
param.origName = paramXml.origName;
param.isStart = paramXml.isStartParam;
- Create a ticketCreate a ticket
Method setInputData
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setInputData(Collection<ParametricModel> m1s, HashMap<ParametricModel, HashMap<String, ParametricModel>> m_secondaryModels, HashMap<Integer, PmmTimeSeries> tss) {
this.tss = tss;
this.m_secondaryModels = m_secondaryModels;
if (m1s.size() == 0) {
scrollPane3.setVisible(false);
- Create a ticketCreate a ticket
Method fillTS
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void fillTS() {
// @Todo: dbuuid muss evtl. noch angepasst werden!!!! in MatrixXml, AgentXml
if (theTS == null) theTS = new PmmTimeSeries();
int agentID = MathUtilities.getRandomNegativeInt();
- Create a ticketCreate a ticket
Method loadSettingsFrom
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected void loadSettingsFrom( NodeSettingsRO settings, PortObjectSpec[] specs ) {
try {
try {
updateModelName();
} catch (Exception e) {}
- Create a ticketCreate a ticket
Method parse
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static KnimeTuple parse(PrimaryModelWData pm) {
// Add cells to the row
KnimeTuple row = new KnimeTuple(SchemaFactory.createM1DataSchema());
// time series cells
- Create a ticketCreate a ticket
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