SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Method writeFSKObject has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public static void writeFSKObject(FskPortObject fskObj, CombineArchive archive, String filePrefix,
      Map<String, URI> URIS) throws Exception {

    addVersion(archive);
   

Method setValue has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void setValue(final int i, final Object obj) throws PmmException {
        if (obj == null)
            cell[i] = CellIO.createMissingCell();
        else
            switch (schema.getType(i)) {

Method testProduct has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void testProduct() throws IOException, EncryptedDocumentException, InvalidFormatException {

        final Workbook workbook = WorkbookFactory.create(new File("files/QMRA_Listeria.xlsx"));
        final Sheet sheet0 = workbook.getSheetAt(0);
        final String[][] values = readSpreadsheetToMatrix(sheet0);

Function statement has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function statement(type, value) {
    if (type == "var") return cont(pushlex("vardef", value), vardef, expect(";"), poplex);
    if (type == "keyword a") return cont(pushlex("form"), parenExpr, statement, poplex);
    if (type == "keyword b") return cont(pushlex("form"), statement, poplex);
    if (type == "keyword d") return cx.stream.match(/^\s*$/, false) ? cont() : cont(pushlex("stat"), maybeexpression, expect(";"), poplex);

Function tokenBase has 47 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/d/d.js - About 1 hr to fix

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

  function tokenBase(stream, state) {
    var ch = stream.next();
    curPunc = null;
    if (ch == "<" && !stream.match(/^[\s\u00a0=]/, false)) {
      stream.match(/^[^\s\u00a0>]*>?/);
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 makeChangeSingleDocInEditor has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function makeChangeSingleDocInEditor(cm, change, spans) {
    var doc = cm.doc, display = cm.display, from = change.from, to = change.to;

    var recomputeMaxLength = false, checkWidthStart = from.line;
    if (!cm.options.lineWrapping) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function fromTextArea has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function fromTextArea(textarea, options) {
    options = options ? copyObj(options) : {};
    options.value = textarea.value;
    if (!options.tabindex && textarea.tabIndex)
      { options.tabindex = textarea.tabIndex; }
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function _createComplexPanel has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createComplexPanel(menu, modelHandler) {
        let O = this;
        _log('MODAL DETAILS / _createComplexPanel: ' + menu.id);

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

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

    async _create () {
        let O = this;
        _log( 'TABLE MAIN / _create', 'primary' );
        
        O._facets = {}; // column facets
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.table.mt.js - About 1 hr to fix

Function query has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  AjaxAdapter.prototype.query = function (params, callback) {
    var matches = [];
    var self = this;

    if (this._request != null) {

Function _registerDomEvents has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Select2.prototype._registerDomEvents = function () {
    var self = this;

    this.$element.on('change.select2', function () {
      self.dataAdapter.current(function (data) {

Function resample has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function resample(stream) {
      var λ00, φ00, x00, y00, a00, b00, c00, λ0, x0, y0, a0, b0, c0;
      var resample = {
        point: point,
        lineStart: lineStart,

Function d3_transitionNode has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_transitionNode(node, i, id, inherit) {
    var lock = node.__transition__ || (node.__transition__ = {
      active: 0,
      count: 0
    }), transition = lock[id];

Function scale has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var effectScale = $.effects.effect.scale = function( o, done ) {

    // Create element
    var el = $( this ),
        options = $.extend( true, {}, o ),

Function makeChangeSingleDocInEditor has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function makeChangeSingleDocInEditor(cm, change, spans) {
  var doc = cm.doc, display = cm.display, from = change.from, to = change.to

  var recomputeMaxLength = false, checkWidthStart = from.line
  if (!cm.options.lineWrapping) {

Function fromTextArea has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function fromTextArea(textarea, options) {
  options = options ? copyObj(options) : {}
  options.value = textarea.value
  if (!options.tabindex && textarea.tabIndex)
    { options.tabindex = textarea.tabIndex }

Function makeChangeSingleDocInEditor has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function makeChangeSingleDocInEditor(cm, change, spans) {
  var doc = cm.doc, display = cm.display, from = change.from, to = change.to

  var recomputeMaxLength = false, checkWidthStart = from.line
  if (!cm.options.lineWrapping) {

Function fromTextArea has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function fromTextArea(textarea, options) {
  options = options ? copyObj(options) : {}
  options.value = textarea.value
  if (!options.tabindex && textarea.tabIndex)
    { options.tabindex = textarea.tabIndex }

Function trunc has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function trunc(string, options, guard) {
      if (guard && isIterateeCall(string, options, guard)) {
        options = undefined;
      }
      var length = DEFAULT_TRUNC_LENGTH,
Severity
Category
Status
Source
Language