SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

RTokenMaker has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings(value = { "all" })
class RTokenMaker extends AbstractJFlexCTokenMaker {

    /**
     * This character denotes the end of file

APPSimulation has 26 functions (exceeds 20 allowed). Consider refactoring.
Open

class APPSimulation {
    constructor ( settings, $container ) {
        let O = this;
        // defaults maintable simulations modal
        O._$container = $container;
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.simulation.js - About 3 hrs to fix

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

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

    decorated.call(this, container, $container);
Severity: Major
Found in de.bund.bfr.knime.pmm.nodes/js-lib/select2/4_0_3/debug/js/select2.js - About 3 hrs to fix

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

    _mouseStart: function(event, overrideHandle, noActivation) {

        var i, body,
            o = this.options;

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

    _mouseDrag: function(event) {
        var i, item, itemElement, intersection,
            o = this.options,
            scrolled = false;

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

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

var traverse = module.exports = function (schema, opts, cb) {
  // Legacy support for v0.3.1 and earlier.

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

        function inputHandler(e,value) {
            var a, b, i, val = this.value;
            /*
             * close any already open lists of autocompleted
             * values

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

    function template(string, options, otherOptions) {
      // Based on John Resig's `tmpl` implementation (http://ejohn.org/blog/javascript-micro-templating/)
      // and Laura Doktorova's doT.js (https://github.com/olado/doT).
      var settings = lodash.templateSettings;

File SecondaryPredictorViewNodeDialog.java has 290 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*******************************************************************************
 * Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by

Method tableMouseClicked has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void tableMouseClicked(MouseEvent e) {
        if (SwingUtilities.isLeftMouseButton(e)) {
            /*
             * int row = table.getSelectedRow(); int col =
             * table.getSelectedColumn();

Method parse has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        private static ManualSecondaryModel parse(KnimeTuple tuple, boolean isPMFX, String mdName, int mdNum,
                Metadata metadata, String notes) {

            final String modelExtension = isPMFX ? "pmf" : "sbml";

Method execute has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected BufferedDataTable[] execute(final BufferedDataTable[] inData, final ExecutionContext exec)
            throws Exception {
        KnimeSchema schema = null;
        ModelType modelType = null;
        List<KnimeTuple> tuples;

Method loadHashes has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void loadHashes() {        
        LinkedHashMap<Object, String> hashZeit = new LinkedHashMap<>();
        hashZeit.put("Sekunde", DBKernel.getLanguage().equals("en") ? "Second(s)" : "Sekunde(n) [s][sec]");                    
        hashZeit.put("Minute", DBKernel.getLanguage().equals("en") ? "Minute(s)" : "Minute(n)");                    
        hashZeit.put("Stunde", DBKernel.getLanguage().equals("en") ? "Hour(s)" : "Stunde(n)");        
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java - About 2 hrs to fix

Method execute has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  @Override
  protected PortObject[] execute(final PortObject[] inData, final ExecutionContext exec)
      throws CombineArchiveException, REXPMismatchException, RException, InvalidPathException,
      IOException, NoInternetException {

Method getViews has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public JComponent[] getViews() {
        JPanel modelScriptPanel = new ScriptPanel("Model script", false);
        DefaultMutableTreeNode top = new DefaultMutableTreeNode("Model Scripts");
        buildScriptNodes(top, this, true);

Method testJoiner has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testJoiner() throws Exception {
        NodeID baseID = loadAndSetWorkflow("TestJoiner");

        m_ReaderNode1 = new NodeID(baseID, 1);
Severity: Major
Found in de.bund.bfr.knime.testflows/src/JoinerTest.java - About 2 hrs to fix

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

    BootstrapTable.prototype.initTable = function () {
        var that = this,
            columns = [],
            data = [];

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

  function d3_scale_ordinal(domain, ranger) {
    var index, range, rangeBand;
    function scale(x) {
      return range[((index.get(x) || ranger.t === "range" && index.set(x, domain.push(x))) - 1) % range.length];
    }

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

    resize: function( event ) {
        var woset, hoset, isParent, isOffsetRelative,
            that = $( this ).resizable( "instance" ),
            o = that.options,
            co = that.containerOffset,

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

    _mouseDrag: function(event) {

        this.dragged = true;

        if (this.options.disabled) {
Severity
Category
Status
Source
Language