SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Method getFSKObjectFromStringArray has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private static FskPortObject getFSKObjectFromStringArray(Optional<EnvironmentManager> manager,
      String[] model, String modelType, Map<String, FskPortObject> fskID_to_fskObject)
      throws IOException {
    FskPortObject portObject = null;

Method setDataPoints has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void setDataPoints(Map<String, double[][]> points) {
        String timeColumnName = table.getTimeColumnName();
        List<Double> timeValues = getTimeValues();

        Map<String, Map<Double, Double>> cValues = new LinkedHashMap<>();

Method createChart has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public JFreeChart createChart(PCMLDocument pcmlDoc, List<String> usedParameters, String xUnits,
            boolean equidistantProcesses, boolean plotLines, boolean plotPoints) {
        Map<NameAndDbId, Integer> columns = PCMLDataTable.createColumnMap(pcmlDoc);
        Map<String, ProcessNode> processNodes = PCMLDataTable.createProcessNodeMap(pcmlDoc);
        DataTableSpec spec = PCMLDataTable.createOutSpec(columns);

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

  function tokenBase(stream, state) {
    var ch = stream.next();
    if (ch == '"' || ch == "'" || ch == "`") {
      state.tokenize = tokenString(ch);
      return state.tokenize(stream, state);
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/go/go.js - About 1 hr to fix

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

  function tokenBase(stream, state) {
    if (stream.eatSpace()) return null;

    var sol = stream.sol();
    var ch = stream.next();
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/shell/shell.js - About 1 hr to fix

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

    function tokenBase(stream, state) {
      var beforeParams = state.beforeParams;
      state.beforeParams = false;
      var ch = stream.next();
      if ((ch == '"' || ch == "'") && state.inParams) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/tcl/tcl.js - About 1 hr to fix

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

      token: function(stream, state) {
        if (stream.eatSpace()) return null
        if(stream.sol()){
          state.commentLine = false;
        }

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

    token: function(stream, state) {
      var ctx = state.context;
      if (stream.sol()) {
        if (ctx.align == null) ctx.align = false;
        state.indented = stream.indentation();
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/clike/clike.js - About 1 hr to fix

Function addLegacyProps has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function addLegacyProps(CodeMirror) {
    CodeMirror.off = off;
    CodeMirror.on = on;
    CodeMirror.wheelEventPixels = wheelEventPixels;
    CodeMirror.Doc = Doc;
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

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

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

    var resultsId = container.id + '-results';

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

Function _initClear has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _initClear ( container ) {
        let O = this;
        _log( 'UI / _initClear' );

        let $elems = $( container ).length > 0 ? $( container ).find( '[data-clear]' ) : $( '[data-clear]' );
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.ui.js - About 1 hr to fix

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

    _mouseStart: function(event) {

        var curleft, curtop, cursor,
            o = this.options,
            el = this.element;

Function multiply has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Expression.prototype.multiply = function(a, simplify) {
    var thisExp = this.copy();

    if (typeof(a) === "string" || a instanceof Term || isInt(a) || a instanceof Fraction) {
        var exp = new Expression(a);

Function _eventHandler has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _eventHandler: function( event ) {
        var options = this.options,
            active = this.active,
            clicked = $( event.currentTarget ),
            clickedIsActive = clicked[ 0 ] === active[ 0 ],

Function hook has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

color.hook = function( hook ) {
    var hooks = hook.split( " " );
    each( hooks, function( i, hook ) {
        jQuery.cssHooks[ hook ] = {
            set: function( elem, value ) {

Function addLegacyProps has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function addLegacyProps(CodeMirror) {
  CodeMirror.off = off
  CodeMirror.on = on
  CodeMirror.wheelEventPixels = wheelEventPixels
  CodeMirror.Doc = Doc

Function addLegacyProps has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function addLegacyProps(CodeMirror) {
  CodeMirror.off = off
  CodeMirror.on = on
  CodeMirror.wheelEventPixels = wheelEventPixels
  CodeMirror.Doc = Doc

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

},{}],41:[function(require,module,exports){
'use strict';

var isArray = Array.isArray;
var keyList = Object.keys;

Function cloneElement has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function cloneElement(element, config, children) {
  !!(element === null || element === undefined) ? invariant_1(false, 'React.cloneElement(...): The argument must be a React element, but you passed %s.', element) : void 0;

  var propName = void 0;

Function lazyValue has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function lazyValue() {
      var array = this.__wrapped__.value(),
          dir = this.__dir__,
          isArr = isArray(array),
          isRight = dir < 0,
Severity
Category
Status
Source
Language