SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Method writeCombinedObject has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private static void writeCombinedObject(CombinedFskPortObject fskObj, CombineArchive archive,
      Map<String, URI> URIS, String filePrefix, ScriptHandler scriptHandler) throws Exception {
    filePrefix = filePrefix + normalizeName(fskObj) + System.getProperty("file.separator");
    
    FskPortObject ffskObj = fskObj.getFirstFskPortObject();

Method release has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public synchronized void release() throws RException {
            if (!m_available) {
                // Either m_pendingDestructionTask is null, which means
                // this resource is being held, or the resource is available
                // and has destruction pending.

Method testParameterSetters has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testParameterSetters() {
        final ParametricModel model = new ParametricModel();
        model.addParam("param", false);

Method addOutport has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static Outport addOutport(final ProcessNode processNode, 
            final PCMLPortObjectSpec spec) {
        Outport outport = processNode.addNewOutport();
        // add matrices
        MatrixRecipe matrixRecipe = outport.addNewMatrixRecipe();

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

  function attrsContinued(stream, state) {
    if (state.isAttrs) {
      if (ATTRS_NEST[stream.peek()]) {
        state.attrsNest.push(ATTRS_NEST[stream.peek()]);
      }
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 token has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    token: function (stream, state) {
      var ch = stream.peek();
      if (ch == "#") { stream.skipToEnd(); return "comment"; }

      if (stream.sol()) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/rpm/rpm.js - About 1 hr to fix

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

  function tokenBase(stream, state) {
    var ch = stream.next();
    if (hooks[ch]) {
      var result = hooks[ch](stream, state);
      if (result !== false) return result;
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/vhdl/vhdl.js - About 1 hr to fix

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

    token: function (stream, state) {
      var ch = stream.peek();
      var sol = stream.sol();

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

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

  function indenter(state,textAfter) {
    var t;
    var unit = cmCfg.indentUnit;
    var wordAfter = wordafter(textAfter);
    var currT = peekToken(state,1);
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 tokenBase has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function tokenBase(stream,state){
    var sol=stream.sol(),c=stream.next();
    curPunc=null;
    if(sol)
      if(c=="/")
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 parens has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    states.parens = function(type, stream, state) {
      if (type == "(") return pushContext(state, stream, "parens");
      if (type == ")") {
        if (state.context.prev.type == "parens") {
          return popContext(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 clear has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  TextMarker.prototype.clear = function () {
      var this$1 = this;

    if (this.explicitlyCleared) { return }
    var cm = this.doc.cm, withOp = cm && !cm.curOp;
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

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

        _create(name, mandatory, helperText, value,port , vocabulary) {
            let O = this;
            // formgroup
            let $formGroup = $( '<div class="form-group row"></div>' );

Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.editable.mt.SelectForm.js - About 1 hr to fix

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

  Utils.Decorate = function (SuperClass, DecoratorClass) {
    var decoratedMethods = getMethods(DecoratorClass);
    var superMethods = getMethods(SuperClass);

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

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

  Utils.Decorate = function (SuperClass, DecoratorClass) {
    var decoratedMethods = getMethods(DecoratorClass);
    var superMethods = getMethods(SuperClass);

    function DecoratedClass () {

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

            function getDefaults() {
                return {
                    tapToDismiss: true,
                    toastClass: 'toast',
                    containerId: 'toast-container',
Severity: Minor
Found in de.bund.bfr.knime.pmm.nodes/js-lib/toastr/2_1_3/debug/js/toastr.js - About 1 hr to fix

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

        init: function(element, options) {
            this.$element = $(element);
            //since 1.4.1 container do not use data-* directly as they already merged into options.
            this.options = $.extend({}, $.fn.editableContainer.defaults, options);         
            this.splitOptions();

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

        render: function() {
            //init loader
            this.$loading = $($.fn.editableform.loading);        
            this.$div.empty().append(this.$loading);
            

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

  d3.layout.pack = function() {
    var hierarchy = d3.layout.hierarchy().sort(d3_layout_packSort), padding = 0, size = [ 1, 1 ], radius;
    function pack(d, i) {
      var nodes = hierarchy.call(this, d, i), root = nodes[0], w = size[0], h = size[1], r = radius == null ? Math.sqrt : typeof radius === "function" ? radius : function() {
        return radius;

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

    brush.extent = function(z) {
      var x0, x1, y0, y1, t;
      if (!arguments.length) {
        if (x) {
          if (xExtentDomain) {
Severity
Category
Status
Source
Language