SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Function createElement has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createElement(type, config, children) {
  var propName = void 0;

  // Reserved names are extracted
  var props = {};

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(AK).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

Method join has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private JsonNode join(JsonNode metadataA, Map<String, Object> originalClassA, JsonNode metadataB,
            Map<String, Object> originalClassB, Map<String, Object> targetClass) {

        Map<String, Object> classAProperties = getProperties(originalClassA);
        Map<String, Object> classBProperties = getProperties(originalClassB);

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        // Check mandatory properties
        if (row.getCell(AU).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing Risk and population factors");
        }

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(Z).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(AK).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(W).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(AK).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(AJ).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(Z).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(Y).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(Y).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {
        
        // Check mandatory properties
        if (row.getCell(AK).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

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

    public PopulationGroup retrievePopulationGroup(Row row) {

        // Check mandatory properties
        if (row.getCell(AJ).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing population name");

Method eUnset has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void eUnset(int featureID) {
        switch (featureID) {
            case MetadataPackage.GENERAL_INFORMATION__NAME:
                setName(NAME_EDEFAULT);

Method doPrimaryEstimation has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private BufferedDataTable doPrimaryEstimation(BufferedDataTable table,
            ExecutionContext exec) throws CanceledExecutionException,
            InterruptedException {
        BufferedDataContainer container = exec.createDataContainer(outSchema
                .createSpec());

Method writeFSKObject has 57 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);
    // Adds model script

Method getValueX has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Double getValueX(String paramX, String paramY, String unitX,
            String unitY, String transformX, String transformY, Double y,
            double minX, double maxX, Double minY, Double maxY, DJep parser,
            Node f) {
        if (y == null) {

Function token has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    token: function(stream, state) {
      var ch = stream.peek();
      var esc = state.escaped;
      state.escaped = false;
      /* comments */
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/yaml/yaml.js - About 2 hrs to fix

Function reset has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Defaults.prototype.reset = function () {
    function stripDiacritics (text) {
      // Used 'uni range + named function' from http://jsperf.com/diacritics/18
      function match(a) {
        return DIACRITICS[a] || a;
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
Severity
Category
Status
Source
Language