SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

OtherModelModelMath has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-02T16:22:48.194+02:00")
public class OtherModelModelMath {
  @SerializedName("parameter")
  private List<Parameter> parameter = new ArrayList<Parameter>();

PredictiveModelModelMath has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-02T16:22:48.194+02:00")
public class PredictiveModelModelMath {
  @SerializedName("parameter")
  private List<Parameter> parameter = new ArrayList<Parameter>();

JsM2Schema has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

@JsonAutoDetect
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
public class JsM2Schema implements ViewValue {

  static final String ATT_MODELCATALOG = "CatalogModel_Sec";

MainFrame has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

public class MainFrame extends JFrame {

    /**
     * 
     */
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/MainFrame.java - About 2 hrs to fix

JoinerViewRepresentation has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

@JsonAutoDetect
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
final class JoinerViewRepresentation extends JSONViewContent {

  private static final String CFG_MODEL1_PARAMETERS = "params1";

WriterNodeModel has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

class WriterNodeModel extends NoInternalsModel {

  private static final PortType[] IN_TYPES = {FskPortObject.TYPE};
  private static final PortType[] OUT_TYPES = {};

FSKEditorJSViewValue has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

class FSKEditorJSViewValue extends JSONViewContent {

  private static final ObjectMapper MAPPER = FskPluginObjectMapper.MAPPER104;
  
  private static final String CFG_MODEL_METADATA = "ModelMetaData";

WriterNodeModel has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

public class WriterNodeModel extends NoInternalsModel {

  private static final PortType[] IN_TYPES = {FskPortObject.TYPE};
  private static final PortType[] OUT_TYPES = {};

FSKEditorJSNodeModel has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

public final class FSKEditorJSNodeModel
    extends AbstractWizardNodeModel<FSKEditorJSViewRepresentation, FSKEditorJSViewValue>
    implements PortObjectHolder {
  private static final NodeLogger LOGGER = NodeLogger.getLogger("Fskx JS Editor Model");

FSKEditorJSNodeModel has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

final class FSKEditorJSNodeModel
    extends AbstractWizardNodeModel<FSKEditorJSViewRepresentation, FSKEditorJSViewValue>
    implements PortObjectHolder {

  private static final NodeLogger LOGGER = NodeLogger.getLogger(FSKEditorJSNodeModel.class);

JSSimulatorNodeModel has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

class JSSimulatorNodeModel
    extends AbstractWizardNodeModel<JSSimulatorViewRepresentation, JSSimulatorViewValue>
    implements PortObjectHolder {

  private final JSSimulatorConfig m_config = new JSSimulatorConfig();

ParametricModelTest has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings("static-method")
public class ParametricModelTest {

    @Test
    public void testEmptyConstructor() {

Method saveSettingsTo has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    protected void saveSettingsTo(NodeSettingsWO settings) throws InvalidSettingsException {
        set.setPreserveIds(preserveIdsBox.isSelected());
        cleanMaps();

Method createNodeModel has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  @Override
  public NodeModel createNodeModel() {
    return new NodeModel(0, 2) {

      @Override

Method go4ISM has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void go4ISM(PlausibleDialog4Krise pd4) throws SQLException {
        DBKernel.sendRequest("DROP FUNCTION IF EXISTS LD", false, true);
        if (DBKernel.sendRequest(
                "CREATE FUNCTION LD(x VARCHAR(255), y VARCHAR(255))\n" +
                "RETURNS INT\n" + 
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/actions/PlausibleAction.java - About 2 hrs to fix

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

  private void createUI() {

    // Fields
    resolutionField.setColumns(5);
    resolutionField.setHorizontalAlignment(SwingConstants.RIGHT);

Function tokenBase has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function tokenBase(stream, state) {
    var ch = stream.next();
    if (hooks[ch]) {
      var result = hooks[ch](stream, state);
      if (result !== false) return result;
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/ecl/ecl.js - About 2 hrs to fix

Function tokenBase has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function tokenBase(stream, state) {
      if (stream.sol()) {
        state.label = true;
        state.commandMode = 0;
      }
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/mumps/mumps.js - About 2 hrs to fix

Function buildToken has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function buildToken(builder, text, style, startStyle, endStyle, css, attributes) {
    if (!text) { return }
    var displayText = builder.splitSpaces ? splitSpaces(text, builder.trailingSpace) : text;
    var special = builder.cm.state.specialChars, mustWrap = false;
    var content;
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 2 hrs to fix

Function d3_layout_packSiblings has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_layout_packSiblings(node) {
    if (!(nodes = node.children) || !(n = nodes.length)) return;
    var nodes, xMin = Infinity, xMax = -Infinity, yMin = Infinity, yMax = -Infinity, a, b, c, i, j, k, n;
    function bound(node) {
      xMin = Math.min(node.x - node.r, xMin);
Severity
Category
Status
Source
Language