SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

AgentIncredientImpl has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

    public static class AgentIncredientImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements de.bund.bfr.pcml10.AgentIncredientDocument.AgentIncredient
    {
        private static final long serialVersionUID = 1L;
        
        public AgentIncredientImpl(org.apache.xmlbeans.SchemaType sType)

Column has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

    public interface Column extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Column.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s121DA543B1FCBC764F9DFAF30A6E9DAF").resolveHandle("column1736elemtype");
        

Factory has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

    public static final class Factory
    {
        public static de.bund.bfr.pcml10.ProcessNodeType newValue(java.lang.Object obj) {
          return (de.bund.bfr.pcml10.ProcessNodeType) type.newValue( obj ); }
        

AgentIncredient has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

    public interface AgentIncredient extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(AgentIncredient.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s121DA543B1FCBC764F9DFAF30A6E9DAF").resolveHandle("agentincredient0360elemtype");
        

ColumnImpl has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

    public static class ColumnImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements de.bund.bfr.pcml10.ColumnDocument.Column
    {
        private static final long serialVersionUID = 1L;
        
        public ColumnImpl(org.apache.xmlbeans.SchemaType sType)

Method loadSettingsFrom has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    protected void loadSettingsFrom(final NodeSettingsRO s, final PortObjectSpec[] specs) throws NotConfigurableException {
        this.specs = specs;
        settings.loadSettingsForDialog(s);

Method retrieveModelMath has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public GenericModelModelMath retrieveModelMath(Sheet sheet) {

        GenericModelModelMath math = new GenericModelModelMath();
        
        // Dependent variable

Method eUnset has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void eUnset(int featureID) {
        switch (featureID) {
            case MetadataPackage.PARAMETER__PARAMETER_ID:
                setParameterID(PARAMETER_ID_EDEFAULT);

Method eSet has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void eSet(int featureID, Object newValue) {
        switch (featureID) {
            case MetadataPackage.PARAMETER__PARAMETER_ID:
                setParameterID((String)newValue);

Method createMainComponent has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private JComponent createMainComponent() {
        Map<String, List<String>> categories = new LinkedHashMap<>();
        Map<String, String> units = new LinkedHashMap<>();
        Map<String, List<Double>> paramsX = new LinkedHashMap<>();

Method execute has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    protected BufferedDataTable[] execute(final BufferedDataTable[] inData, final ExecutionContext exec)
            throws Exception {
        KnimeSchema commonSchema = KnimeSchema.merge(new TimeSeriesSchema(), new Model1Schema());
        BufferedDataContainer buf = exec.createDataContainer(new TimeSeriesSchema().createSpec());

Method execute has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    protected PortObject[] execute(final PortObject[] inData, final ExecutionContext exec)
            throws InvalidSettingsException, IOException, InvalidFormatException, NoInternetException {

        FskPortObject portObj = new FskPortObject();

Method insertParam has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private int insertParam(final int modelId, final String paramName, final int paramType, final Double min, final Double max, final String category, final String unit,
            final String description) {
        PreparedStatement ps;

        int id = -1;

Method createUI has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void createUI() {

    m_spreadsheetPanel.addChangeListener(new ChangeListener() {

      @Override

Method createUI has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void createUI() {

    m_spreadsheetPanel.addChangeListener(new ChangeListener() {

      @Override

Method createUI has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void createUI() {

    m_spreadsheetPanel.addChangeListener(new ChangeListener() {

      @Override

Method saveGeneratedResources has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void saveGeneratedResources(FskPortObject fskPortObject, File workingDirectory,
      ExecutionContext exec)
      throws ResourceFileNotFoundException, JsonFileNotFoundException, VariableNotGlobalException {

Method initDatabase has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void initDatabase() throws SQLException, ClassNotFoundException, IOException {

        final Properties fastImportProperties = new Properties();
        fastImportProperties.put("LOG", 0);
        fastImportProperties.put("CACHE_SIZE", 65536);

Method testConstructors has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testConstructors() throws Exception {

        // Test constructor with id, name, description, value, categories* and unit
        final MiscXml misc0 = new MiscXml(0, "name", "description", .0, Arrays.asList("category"), "unit");

Function markText has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function markText(doc, from, to, options, type) {
    // Shared markers (across linked documents) are handled separately
    // (markTextShared will call out to this again, once per
    // document).
    if (options && options.shared) { return markTextShared(doc, from, to, options, type) }
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 2 hrs to fix
Severity
Category
Status
Source
Language