SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

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

  Results.prototype.option = function (data) {
    var option = document.createElement('li');
    option.classList.add('select2-results__option');
    option.classList.add('select2-results__option--selectable');

Severity: Major
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 2 hrs to fix

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

  d3.layout.hierarchy = function() {
    var sort = d3_layout_hierarchySort, children = d3_layout_hierarchyChildren, value = d3_layout_hierarchyValue;
    function recurse(node, depth, nodes) {
      var childs = children.call(hierarchy, node, depth);
      node.depth = depth;

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

    _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
            secondary, monthNames, monthNamesShort) {

        var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,
            changeMonth = this._get(inst, "changeMonth"),

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

    _setContainment: function() {

        var isUserScrollable, c, ce,
            o = this.options,
            document = this.document[ 0 ];

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

    createWrapper: function( element ) {

        // if the element is already wrapped, return it
        if ( element.parent().is( ".ui-effects-wrapper" )) {
            return element.parent();

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

function regChange(cm, from, to, lendiff) {
  if (from == null) { from = cm.doc.first }
  if (to == null) { to = cm.doc.first + cm.doc.size }
  if (!lendiff) { lendiff = 0 }

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

  function tokenBase(stream, state) {
    curPunc = null;
    var ch = stream.next();
    if (ch == "#") {
      stream.skipToEnd();
Severity: Major
Found in de.bund.bfr.knime.fsklab.deprecatednodes/js-lib/codemirror/r.js - About 2 hrs to fix

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

    function create_body2() {
        let body = `
    <div class="container">
      
      <form class="form-horizontal">

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

function regChange(cm, from, to, lendiff) {
  if (from == null) { from = cm.doc.first }
  if (to == null) { to = cm.doc.first + cm.doc.size }
  if (!lendiff) { lendiff = 0 }

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

        Array.from = (function() {
            var toStr = Object.prototype.toString;
            var isCallable = function(fn) {
                return typeof fn === 'function'
                        || toStr.call(fn) === '[object Function]';

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

  function tokenBase(stream, state) {
    curPunc = null;
    var ch = stream.next();
    if (ch == "#") {
      stream.skipToEnd();

Method retrievePopulationGroup has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static PopulationGroup retrievePopulationGroup(Row row, Map<String, Integer> columns) {

        // Check mandatory properties
        Cell nameCell = row.getCell(columns.get("name"));
        if (nameCell.getCellTypeEnum() != CellType.STRING) {

Method createMainComponent has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private JComponent createMainComponent() {
        if (set.isStandardVisibleColumns()) {
            set.setVisibleColumns(reader.getStandardVisibleColumns());
        }

Method actionPerformed has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void actionPerformed(ActionEvent e) {
        if (e.getSource() == computeButton) {
            UnitDefinition unit = new UnitDefinition(idField.getText().trim(),
                    LEVEL, VERSION);

Method flush16le has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void flush16le() throws UnsupportedEncodingException, FileNotFoundException, IOException, PmmException {
        StringBuffer buf = new StringBuffer();
        for (PmmTimeSeries candidate : buffer) {
            String organism = "";
            String matrix = "";

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

        private static OneStepTertiaryModel parse(List<List<KnimeTuple>> tupleList, boolean isPMFX, String mdName,
                int mdNum, Metadata metadata, String notes) {

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

Method initComponents has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        ResourceBundle bundle = ResourceBundle.getBundle("org.hsh.bfr.db.gui.PanelProps");
        dialogPane = new JPanel();
        contentPanel = new JPanel();
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/SelectionDialog.java - About 2 hrs to fix

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

  @Override
  protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec) throws Exception {
    exec.setMessage("Creating virtual workflow");
    // Get current node context and workflow
    NodeContext nodeContext = NodeContext.getContext();

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

  @Override
  protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec) throws Exception {
    exec.setMessage("Creating virtual workflow");
    // Get current node context and workflow
    NodeContext nodeContext = NodeContext.getContext();

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

  var wellKnownWords = (function() {
    var wkw = {};
    function setType(t) {
      return function () {
        for (var i = 0; i < arguments.length; i++)
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/haskell/haskell.js - About 2 hrs to fix
Severity
Category
Status
Source
Language