SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Method compare has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public int compare(Object o1, Object o2) {
        String version1 = (String) o1;
        String version2 = (String) o2;

        VersionTokenizer tokenizer1 = new VersionTokenizer(version1);
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/VersionComprator.java - About 1 hr to fix

Method getReihenfolge has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        private Vector<Integer> getReihenfolge(Vector<Integer[]> org_dst) {
            Vector<Integer> indexReihenfolge = new Vector<>();
            Integer[] int2 = org_dst.get(0);
            int[] valsA = new int[2];
            int[] valsE = new int[2];

Method runSnippet has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public final void runSnippet(final FskPortObject fskObj, final FskSimulation simulation,
      final ExecutionContext exec, NodeLogger LOGGER,
      final RunnerNodeInternalSettings internalSettings, RunnerNodeSettings nodeSettings)
      throws Exception {
    // Sets up working directory with resource files. This directory needs to be deleted.

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

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

    
    addVersion(archive);

Method plotDataSetStrict has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void plotDataSetStrict(XYPlot plot, Plotable plotable, String id)
            throws ConvertException {
        String legend = shortLegend.get(id);
        List<Color> colorList = colorLists.get(id);
        List<Shape> shapeList = shapeLists.get(id);

Method updateCheckBoxes has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        private void updateCheckBoxes() {
            boolean allVisualizationSelected = true;
            boolean allMiscellaneousSelected = true;
            boolean allQualitySelected = true;
            boolean allConditionsSelected = true;

Method updatePrimaryIndepRanges has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static void updatePrimaryIndepRanges(List<KnimeTuple> tuples,
            Map<KnimeTuple, List<KnimeTuple>> tupleCombinations) {
        Map<Integer, Map<String, Double>> indepMin = new LinkedHashMap<>();
        Map<Integer, Map<String, Double>> indepMax = new LinkedHashMap<>();

Method testGeneralInformation has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testGeneralInformation() throws IOException {

        Copier copier = new Copier();

Function haxeTokenBase has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function haxeTokenBase(stream, state) {
    var ch = stream.next();
    if (ch == '"' || ch == "'") {
      return chain(stream, state, haxeTokenString(ch));
    } else if (/[\[\]{}\(\),;\:\.]/.test(ch)) {
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 tokenBase has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function tokenBase(stream, state) {
    var ch = stream.next();
    if (tokenHooks[ch]) {
      var result = tokenHooks[ch](stream, state);
      if (result !== false) return result;
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 updateDisplayIfNeeded has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function updateDisplayIfNeeded(cm, update) {
    var display = cm.display, doc = cm.doc;

    if (update.editorIsHidden) {
      resetView(cm);
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function drawForLine has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function drawForLine(line, fromArg, toArg) {
      var lineObj = getLine(doc, line);
      var lineLen = lineObj.text.length;
      var start, end;
      function coords(ch, bias) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function stretchSpansOverChange has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function stretchSpansOverChange(doc, change) {
    if (change.full) { return null }
    var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;
    var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;
    if (!oldFirst && !oldLast) { return null }
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function indentLine has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function indentLine(cm, n, how, aggressive) {
    var doc = cm.doc, state;
    if (how == null) { how = "add"; }
    if (how == "smart") {
      // Fall back to "prev" when the mode doesn't have an indentation
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function domTextBetween has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function domTextBetween(cm, from, to, fromLine, toLine) {
    var text = "", closing = false, lineSep = cm.doc.lineSeparator(), extraLinebreak = false;
    function recognizeMarker(id) { return function (marker) { return marker.id == id; } }
    function close() {
      if (closing) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

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

  function tokenBase(stream, state) {


    stream.eatWhile(/[\w\$_]/);

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

Function locateNodeInLineView has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function locateNodeInLineView(lineView, node, offset) {
    var wrapper = lineView.text.firstChild, bad = false;
    if (!node || !contains(wrapper, node)) { return badPos(Pos(lineNo(lineView.line), 0), true) }
    if (node == wrapper) {
      bad = true;
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

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

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

    if (this._request != null) {
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/select2.full.js - About 1 hr to fix

Function bindEvents has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        bindEvents: function () {
            if (this.no_diapason) {
                return;
            }

Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/ion.rangeSlider.js - About 1 hr to fix

Function _process_options has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        _process_options: function(opts){
            // Store raw options for reference
            this._o = $.extend({}, this._o, opts);
            // Processed options
            var o = this.o = $.extend({}, this._o);
Severity
Category
Status
Source
Language