Showing 6,856 of 14,752 total issues
Function createAtomic
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createAtomic(x, y, width, height, modelName, inputs, outputs, modelIndex,simulations) {
- Create a ticketCreate a ticket
Method retrieveBackground
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public OtherModelDataBackground retrieveBackground(Sheet sheet) {
OtherModelDataBackground background = new OtherModelDataBackground();
try {
- Create a ticketCreate a ticket
Method deserialize
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public GenericModelModelMath deserialize(JsonParser parser, DeserializationContext context)
throws IOException, JsonProcessingException {
JsonNode node = parser.readValueAsTree();
- Create a ticketCreate a ticket
Method convertModel
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Model convertModel(JsonNode originalMetadata, ModelClass targetClass) throws JsonProcessingException {
String originalClass = originalMetadata.get("modelType").textValue();
Map<String, Object> originalModelClass = ModelClass.valueOf(originalClass).swaggerDefinition;
Map<String, Object> targetModelClass = targetClass.swaggerDefinition;
- Create a ticketCreate a ticket
Method deserialize
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public GenericModelScope deserialize(JsonParser parser, DeserializationContext context)
throws IOException, JsonProcessingException {
JsonNode node = parser.readValueAsTree();
- 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 loadSettings
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void loadSettings( final Config config ) throws InvalidSettingsException {
int i;
Config c;
processName = config.getString(PARAM_PROCESSNAME);
- 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 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