SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(J).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(J).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(J).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(I).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(I).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(I).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(J).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(J).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method retrieveStudy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Study retrieveStudy(Sheet sheet) {

        // Check first mandatory properties
        if (sheet.getRow(STUDY__STUDY_TITLE).getCell(I).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing study title");

Method go4Table has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void go4Table(final String tn, final Vector<String> result, final int id1, final int id2, final MyTable myT, final boolean showOnlyDataFromCurrentUser) {
        if (!tn.equals("Users")) {
            if (id1 < 0 && id2 < 0 &&
                    !tn.equals("ChangeLog") && !tn.equals("DateiSpeicher") && !tn.equals("Users") &&
                    !tn.equals("Matrices") && !tn.equals("Methoden") && !tn.equals("Tierkrankheiten") &&
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/actions/PlausibleAction.java - About 2 hrs to fix

Method doImport has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public String doImport(final String filename, final JProgressBar progress, final boolean showResults) {
          Runnable runnable = new Runnable() {
            @SuppressWarnings("resource")
            public void run() {
                  try {
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/imports/SQLScriptImporter.java - About 2 hrs to fix

Method loadFromNodeSettings has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public void loadFromNodeSettings(final NodeSettingsRO settings) throws InvalidSettingsException {

    try {
      template.modelName = settings.getString(Key.name.name(), null);
      template.modelId = settings.getString(Key.id.name(), null);

Method createSBML has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private static SBMLDocument createSBML(FskPortObject fskObj, CombineArchive archive,
      String ModelId, Map<String, URI> URIS, String filePrefix) throws IOException {
    filePrefix = filePrefix + normalizeName(fskObj) + System.getProperty("file.separator");
    SBMLDocument doc = new SBMLDocument(3, 1);
    doc.addDeclaredNamespace("xmlns:fsk",

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

  function tokenBase(stream, state) {
    if (stream.eatSpace()) {
      return null;
    }

Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/oz/oz.js - About 2 hrs to fix

Function insertLineContent has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function insertLineContent(line, builder, styles) {
    var spans = line.markedSpans, allText = line.text, at = 0;
    if (!spans) {
      for (var i$1 = 1; i$1 < styles.length; i$1+=2)
        { builder.addToken(builder, allText.slice(at, at = styles[i$1]), interpretTokenStyle(styles[i$1+1], builder.cm.options)); }
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 2 hrs to fix

Function _validateSimField has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _validateSimField ( field ) {
        let O = this;
        _log( 'PANEL SIM / _validateSimField' );
        _log( field );

Severity: Major
Found in de.bund.bfr.knime.js/src/js/app/app.simulation.js - About 2 hrs to fix

Function initServer has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    BootstrapTable.prototype.initServer = function (silent, query, url) {
        var that = this,
            data = {},
            params = {
                searchText: this.searchText,

Function normalize has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function normalize(name, baseName) {
        var nameParts, nameSegment, mapValue, foundMap, lastIndex,
            foundI, foundStarMap, starI, i, j, part,
            baseParts = baseName && baseName.split("/"),
            map = config.map,
Severity: Major
Found in de.bund.bfr.knime.pmm.nodes/js-lib/select2/4_0_3/debug/js/select2.js - About 2 hrs to fix

Function voronoi has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function voronoi(data) {
      var points, polygons = data.map(function() {
        return [];
      }), fx = d3_functor(x), fy = d3_functor(y), d, i, n = data.length, Z = 1e6;
      if (fx === d3_svg_lineX && fy === d3_svg_lineY) points = data; else for (points = new Array(n), 

Function d3_geo_resample has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_geo_resample(project) {
    var δ2 = .5, cosMinDistance = Math.cos(30 * d3_radians), maxDepth = 16;
    function resample(stream) {
      var λ00, φ00, x00, y00, a00, b00, c00, λ0, x0, y0, a0, b0, c0;
      var resample = {
Severity
Category
Status
Source
Language