SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

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

    _refreshValue: function() {
        var value = this.options.value,
            percentage = this._percentage();

        this.valueDiv

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

    transition: function( other, distance ) {
        var end = color( other ),
            spaceName = end._space(),
            space = spaces[ spaceName ],
            startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

    _initialActive: function() {
        var active = this.options.active,
            collapsible = this.options.collapsible,
            locationHash = location.hash.substring( 1 );

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

    _refresh: function() {
        this._setupDisabled( this.options.disabled );
        this._setupEvents( this.options.event );
        this._setupHeightStyle( this.options.heightStyle );

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

NativeScrollbars.prototype.update = function (measure) {
  var needsH = measure.scrollWidth > measure.clientWidth + 1
  var needsV = measure.scrollHeight > measure.clientHeight + 1
  var sWidth = measure.nativeBarWidth

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

    startState: function() {
      return {
        f: blockNormal,

        prevLine: {stream: null},

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

NativeScrollbars.prototype.update = function (measure) {
  var needsH = measure.scrollWidth > measure.clientWidth + 1
  var needsV = measure.scrollHeight > measure.clientHeight + 1
  var sWidth = measure.nativeBarWidth

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

  function _compileAsync(schemaObj) {
    try { return self._compile(schemaObj); }
    catch(e) {
      if (e instanceof MissingRefError) return loadMissingSchema(e);
      throw e;

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

function getData($data, lvl, paths) {
  var up, jsonPointer, data, matches;
  if ($data === '') return 'rootData';
  if ($data[0] == '/') {
    if (!JSON_POINTER.test($data)) throw new Error('Invalid JSON-pointer: ' + $data);

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

function removeSchema(schemaKeyRef) {
  if (schemaKeyRef instanceof RegExp) {
    _removeAllSchemas(this, this._schemas, schemaKeyRef);
    _removeAllSchemas(this, this._refs, schemaKeyRef);
    return this;

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

    function baseMerge(object, source, customizer, stackA, stackB) {
      if (!isObject(object)) {
        return object;
      }
      var isSrcArr = isArrayLike(source) && (isArray(source) || isTypedArray(source)),

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

    function binaryIndexBy(array, value, iteratee, retHighest) {
      value = iteratee(value);

      var low = 0,
          high = array ? array.length : 0,

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

    view.init = function(representation, value) {
        _rep = representation;
        _val = value;
        let _container = $(`<div class="simulationsDiv modal-sim"></div>`);
        document.createElement('body');

Method write has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public static void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
            boolean splitModels, String notes, ExecutionContext exec, ModelType modelType) throws Exception {

Method openNewWindow has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public Object openNewWindow(final MyTable theNewTable, final Object value, final Object headerValue, final MyDBTable dbTable, final Integer row, final Integer col, final Object[][] conditions, boolean fromMMC, Filter mf) {
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/MainFrame.java - About 1 hr to fix

Method defineTable4NewDBTable has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    private boolean defineTable4NewDBTable(MyTable myT, MyDBTable dbTable, final Object value, final Object headerValue, final MyTable theNewTable, MyDBTable newDBTable, final Integer row, final Integer col, final Object[][] conditions) {
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/MainFrame.java - About 1 hr to fix

Method handleField has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    private static String handleField(final Object id, final MyTable[] foreignFields, final String[] mnTable, final int i, final boolean goDeeper, final String startDelim,
            final String delimiter, final String endDelim, HashSet<MyTable> alreadyUsed) {
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/DBKernel.java - About 1 hr to fix

Method handleField has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    private String handleField(final Object id, final MyTable[] foreignFields, final String[] mnTable, final int i, final boolean goDeeper, final String startDelim,
            final String delimiter, final String endDelim, HashSet<MyTable> alreadyUsed) {
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBI.java - About 1 hr to fix

Method addParam has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public void addParam(final String paramName, final Boolean isStartParam, final Double value, final Double error,
            final Double min, final Double max, String category, String unit, String description) {

Method convertStringLists2TSXmlDoc has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public static PmmXmlDoc convertStringLists2TSXmlDoc(Array t, Array tu, Array l, Array lu, Array lot, Array stddevs, Array wdhs, String modelUnit, String timeUnit) {
Severity
Category
Status
Source
Language