SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

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

    function tokenLexer(stream, state) {
        var style = state.tokenize(stream, state);
        var current = stream.current();

        // Handle '.' connected identifiers
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/vb/vb.js - About 1 hr to fix

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

  function blankLine(state) {
    // Reset linkTitle state
    state.linkTitle = false;
    state.linkHref = false;
    state.linkText = false;

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

  State.prototype.copy = function () {
    var res = new State();
    res.javaScriptLine = this.javaScriptLine;
    res.javaScriptLineExcludesColon = this.javaScriptLineExcludesColon;
    res.javaScriptArguments = this.javaScriptArguments;
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/pug/pug.js - About 1 hr to fix

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

    function html(stream, state) {
      var style = htmlMode.token(stream, state.htmlState), tag = /\btag\b/.test(style), tagName
      if (tag && !/[<>\s\/]/.test(stream.current()) &&
          (tagName = state.htmlState.tagName && state.htmlState.tagName.toLowerCase()) &&
          tags.hasOwnProperty(tagName)) {

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

  function rval(state,stream,type) {

    // parse stack
    pushToken(state,realToken(type,stream));

Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/erlang/erlang.js - About 1 hr to fix

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

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

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

    states.keyframes = function(type, stream, state) {
      if (stream.indentation() == "0" && ((type == "}" && startOfLine(stream)) || type == "]" || type == "hash"
                                          || type == "qualifier" || wordIsTag(stream.current()))) {
        return popAndPass(type, stream, state);
      }
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/stylus/stylus.js - About 1 hr to fix

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

  states.atBlock = function(type, stream, state) {
    if (type == "(") return pushContext(state, stream, "atBlock_parens");
    if (type == "}" || type == ";") return popAndPass(type, stream, state);
    if (type == "{") return popContext(state) && pushContext(state, stream, allowNested ? "block" : "top");

Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/css/css.js - About 1 hr to fix

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

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

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

    blockType: function(stream, state) {
      var match, type;
      state.layoutType = null;

      if (match = stream.match(RE("type")))

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

    var loop = function ( o ) {
      context.baseTokens = st;
      var overlay = cm.state.overlays[o], i = 1, at = 0;
      context.state = true;
      runMode(cm, line.text, overlay.mode, context, function (end, style) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

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

        _createPanels(port) {

            let schema = fskui.genericModel;

            return {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/bfr/fskutil_1.0.0.js - About 1 hr to fix

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

        _create(name, mandatory, type, helperText, value, vocabulary, port) {

            // Create input
            this.input.className = type === "checkbox" ? "form-check-input" : "form-control";
            this.input.type = type;
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/bfr/fskutil_1.0.0.js - About 1 hr to fix

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

    _createPanels() {
        let port = window.port || -1;
        let schema = schemas.healthModel;

        return {
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.schemas.js - About 1 hr to fix

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

      function _advanceInputGroup(parentelement) {
        parentelement.addClass('bootstrap-touchspin');

        var prev = originalinput.prev(),
          next = originalinput.next();
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-touchspin.js - About 1 hr to fix

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

  EventRelay.prototype.bind = function (decorated, container, $container) {
    var self = this;
    var relayEvents = [
      'open', 'opening',
      'close', 'closing',
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

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

  StopPropagation.prototype.bind = function (decorated, container, $container) {
    decorated.call(this, container, $container);

    var stoppedEvents = [
    'blur',
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

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

  SelectAdapter.prototype.select = function (data) {
    var self = this;

    data.selected = true;

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

  StopPropagation.prototype.bind = function (decorated, container, $container) {
    decorated.call(this, container, $container);

    var stoppedEvents = [
      'blur',
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

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

        formatDate: function(date, format, language){
            if (!date)
                return '';
            if (typeof format === 'string')
                format = DPGlobal.parseFormat(format);
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix
Severity
Category
Status
Source
Language