SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

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

    @Override
    protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec)
            throws Exception {
        BufferedDataTable table = (BufferedDataTable) inObjects[0];
        TableReader reader = new TableReader(table,

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

    protected void loadSettingsFrom( NodeSettingsRO settings, PortObjectSpec[] specs )  {    
        buildGui();
        try {    
            /*
            if (settings.containsKey("DbConfigurationUi")) dbui.setSettings(settings.getConfig("DbConfigurationUi"));

Method setValue has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void setValue(Object value) {
        String sql = "";
        String result = "";
        if (value == null) {
            this.setText("");

Method getDKValuePlausible has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static void getDKValuePlausible(MyTable myT, Vector<String[]> result, String idConf) {
          MyTable[] foreignFields = myT.getForeignFields();
          if (foreignFields != null) {
              for (int i=0;i<foreignFields.length;i++) {
                if (foreignFields[i] != null && foreignFields[i].getTablename().equals("DoubleKennzahlen")) {
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/PlausibilityChecker.java - About 2 hrs to fix

Method getViewRepresentation has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  @Override
  public JoinerViewRepresentation getViewRepresentation() {

    JoinerViewRepresentation representation;

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

  @Override
  protected PortObject[] execute(final PortObject[] inData, final ExecutionContext exec)
      throws Exception {

    FskPortObject portObject = (FskPortObject) inData[0];

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

  private void createUI() {

    // Model type panel
    final JPanel modelTypePanel = new JPanel(new BorderLayout());
    modelTypePanel.setBorder(

Method useCurrentResults has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void useCurrentResults(List<Double> startValues) {
        double cost = optimizerValues.getCost();

        parameterValues = new ArrayList<>(parameters.size());
        sse = cost * cost;

Method fetchConditions has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private List<ConditionsData> fetchConditions(BufferedDataTable table) {

        /**
         * Two types of conditions tables:
         * <ol>

Consider simplifying this complex logical expression.
Open

    } else if (
      // if setext set, indicates line after ---/===
      state.setext || (
        // line before ---/===
        (!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
Severity: Critical
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/markdown/markdown.js - About 2 hrs to fix

Consider simplifying this complex logical expression.
Open

    } else if (ch === "*" || ch === "_") {
      var len = 1, before = stream.pos == 1 ? " " : stream.string.charAt(stream.pos - 2)
      while (len < 3 && stream.eat(ch)) len++
      var after = stream.peek() || " "
      // See http://spec.commonmark.org/0.27/#emphasis-and-strong-emphasis
Severity: Critical
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/markdown/markdown.js - About 2 hrs to fix

Function token has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    token: function(stream, state) {

      var cur = '';
      if(stream.eatSpace()) return null;
      // extension started

Function readToken has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function readToken(stream, state) {
  if (stream.sol()) {
    // From last line
    state.inSeparator = false;
    if (state.inHeader && stream.match(whitespace)) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/mbox/mbox.js - About 2 hrs to fix

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

  function tokenBase(stream, state) {
    var ch = stream.next();
    curPunc = null;
    if (ch == "$" || ch == "?") {
      if(ch == "?" && stream.match(/\s/, false)){
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/sparql/sparql.js - About 2 hrs to fix

Consider simplifying this complex logical expression.
Open

        if (cx.prev &&
            (ch == "}" && (cx.type == "block" || cx.type == "atBlock" || cx.type == "keyframes") ||
             ch == ")" && (cx.type == "parens" || cx.type == "atBlock_parens") ||
             ch == "{" && (cx.type == "at"))) {
          indent = cx.indent - indentUnit;
Severity: Critical
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/stylus/stylus.js - About 2 hrs to fix

Function CodeMirror has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function CodeMirror(place, options) {
    var this$1 = this;

    if (!(this instanceof CodeMirror)) { return new CodeMirror(place, options) }

Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 2 hrs to fix

Function moveVisually has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function moveVisually(cm, line, start, dir) {
    var bidi = getOrder(line, cm.doc.direction);
    if (!bidi) { return moveLogically(line, start, dir) }
    if (start.ch >= line.text.length) {
      start.ch = line.text.length;
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 2 hrs to fix

Function onScrollWheel has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function onScrollWheel(cm, e) {
    var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;

    var display = cm.display, scroll = display.scroller;
    // Quit if there's nothing to scroll here
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 2 hrs to fix

Function _prepareDataTable has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async _prepareDataTable(){
        _log( 'TABLE MAIN / _prepareDataTable', 'primary' );
        let O = this;
        // prepare table data
        O._tableData = [];
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.table.mt.js - About 2 hrs to fix

Consider simplifying this complex logical expression.
Open

var S2;(function () { if (!S2 || !S2.requirejs) {
if (!S2) { S2 = {}; } else { require = S2; }
/**
 * @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
 * Available via the MIT or new BSD license.
Severity: Critical
Found in de.bund.bfr.knime.pmm.nodes/js-lib/select2/4_0_3/debug/js/select2.js - About 2 hrs to fix
Severity
Category
Status
Source
Language