SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Method handleSuchfeldChange has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    void handleSuchfeldChange(final KeyEvent e, final boolean doFilter) {
        if (!filterChangeAllowed) return;
        if (isFormVisible()) {
            return;
        }
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/dbtable/MyDBPanel.java - About 1 hr to fix

Method myRefresh has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void myRefresh(final int row, final int col) {
        JScrollPane scroller = getScroller();
        int scrollVal = (scroller == null) ? -1 : scroller.getVerticalScrollBar().getValue();
        int hscrollVal = (scroller == null) ? -1 : scroller.getHorizontalScrollBar().getValue();
//        System.err.println(row+" - "+getSelectedID());
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/dbtable/MyDBTable.java - About 1 hr to fix

Method setSettings has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void setSettings(Config c, Integer defAgent, Integer defMatrix, Double defTemp, Double defPh, Double defAw, Double agentConc, Callable<Void> refresher) throws InvalidSettingsException {
        this.defTemp = defTemp;
        this.defPh = defPh;
        this.defAw = defAw;
        this.agentConc = agentConc;

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

    private void createUI() {

      // Build simulations panel
      setLayout(new BorderLayout());
      setName("Simulations");

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

  @Override
  protected void loadSettingsFrom(NodeSettingsRO settings, PortObject[] input)
      throws NotConfigurableException {

    final FSKEditorJSNodeSettings editorSettings = new FSKEditorJSNodeSettings();

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

    private void createUI() {

      // Build simulations panel
      setLayout(new BorderLayout());
      setName("Simulations");

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

  function tokenBase(stream, state) {
    var ch = stream.next();
    if (ch == "#" && state.startOfLine) {
      stream.skipToEnd();
      return "meta";
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/pascal/pascal.js - About 1 hr to fix

Function updateLineGutter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function updateLineGutter(cm, lineView, lineN, dims) {
    if (lineView.gutter) {
      lineView.node.removeChild(lineView.gutter);
      lineView.gutter = null;
    }
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function onCopyCut has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function onCopyCut(e) {
      if (signalDOMEvent(cm, e)) { return }
      if (cm.somethingSelected()) {
        setLastCopied({lineWise: false, text: cm.getSelections()});
        if (e.type == "cut") { cm.replaceSelection("", null, "cut"); }
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function objectKeys has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var objectKeys = function () {
        // From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys
        if (!Object.keys) {
            Object.keys = (function() {
                var hasOwnProperty = Object.prototype.hasOwnProperty,

Function bind has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  MultipleSelection.prototype.bind = function (container, $container) {
    var self = this;

    MultipleSelection.__super__.bind.apply(this, arguments);

Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function _resolveWidth has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Select2.prototype._resolveWidth = function ($element, method) {
    var WIDTH = /^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;

    if (method == 'resolve') {
      var styleWidth = this._resolveWidth($element, 'style');
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function resetView has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    BootstrapTable.prototype.resetView = function (params) {
        var padding = 0;

        if (params && params.height) {
            this.options.height = params.height;

Function createInput has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

       createInput: function(options) {
           var TypeConstructor, typeOptions, input,
           type = options.type;

           //`date` is some kind of virtual type that is transformed to one of exact types

Function partition has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.layout.partition = function() {
    var hierarchy = d3.layout.hierarchy(), size = [ 1, 1 ];
    function position(node, x, dx, dy) {
      var children = node.children;
      node.x = x;

Function _mouseCapture has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _mouseCapture: function(event, overrideHandle) {
        var currentItem = null,
            validHandle = false,
            that = this;

Function cancel has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    cancel: function() {

        if(this.dragging) {

            this._mouseUp({ target: null });

Function _mouseStart has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _mouseStart: function(event) {

        var o = this.options;

        //Create and append the visible helper

Function _hideDatepicker has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _hideDatepicker: function(input) {
        var showAnim, duration, postProcess, onClose,
            inst = this._curInst;

        if (!inst || (input && inst !== $.data(input, "datepicker"))) {

Function _dialogDatepicker has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _dialogDatepicker: function(input, date, onSelect, settings, pos) {
        var id, browserWidth, browserHeight, scrollX, scrollY,
            inst = this._dialogInst; // internal instance

        if (!inst) {
Severity
Category
Status
Source
Language