SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

XmlConverter has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

public class XmlConverter {

    private XmlConverter() {
    }

IRController has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

public interface IRController extends AutoCloseable {

  /**
   * Marker class for exceptions during R configuration or execution.
   * 

PCMLImpl has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

    public static class PCMLImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements de.bund.bfr.pcml10.PCMLDocument.PCML
    {
        private static final long serialVersionUID = 1L;
        
        public PCMLImpl(org.apache.xmlbeans.SchemaType sType)

PCML has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

    public interface PCML extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(PCML.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s121DA543B1FCBC764F9DFAF30A6E9DAF").resolveHandle("pcml1f76elemtype");
        

File MathUtilities.java has 284 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*******************************************************************************
 * Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by

Method myInitComponents has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void myInitComponents() {
        initComponents();
        tabbedPane1.remove(2); // Agents
        tabbedPane1.remove(0); // In-Port
        removeAllRelevantComponents(this);

Method buttonPlusActionPerformed has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void buttonPlusActionPerformed(ActionEvent e) {
        removeAllFromPanel();
        
        JButton button = new JButton();
        button.setText("(select " + (forMatrices ? "Matrix" : "Agent") + ")");

Method createChart has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void createChart() {
        String id = null;

        if (configPanel.isDisplayFocusedRow()) {
            id = selectionPanel.getFocusedID();

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

  public final void runSnippet(final FskPortObject fskObj, final FskSimulation simulation,
      final ExecutionContext exec, NodeLogger LOGGER, File imageFile) throws Exception {
    
    // Sets up working directory with resource files. This directory needs to be deleted.
    exec.setProgress(0.05, "Add resource files");

Method parseElement has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void parseElement(Element rootElement) {
        for (Element el : rootElement.getChildren()) {
            /*
             * if (el instanceof PmmXmlElementConvertable) { elementSet.add(new
             * ParametricModel(el)); }

Function d3_geo_projectionMutator has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_geo_projectionMutator(projectAt) {
    var project, rotate, projectRotate, projectResample = d3_geo_resample(function(x, y) {
      x = project(x, y);
      return [ x[0] * k + δx, δy - x[1] * k ];
    }), k = 150, x = 480, y = 250, λ = 0, φ = 0, δλ = 0, δφ = 0, δγ = 0, δx, δy, preclip = d3_geo_clipAntimeridian, postclip = d3_identity, clipAngle = null, clipExtent = null, stream;

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

    _create: function() {
        this.activeMenu = this.element;

        // Flag used to prevent firing of the click handler
        // as the event bubbles up through nested menus

Function generate_pattern has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function generate_pattern(it, $keyword, $ruleType) {
  var out = ' ';
  var $lvl = it.level;
  var $dataLvl = it.dataLevel;
  var $schema = it.schema[$keyword];

Function 30 has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

},{}],30:[function(require,module,exports){
'use strict';
module.exports = function generate_oneOf(it, $keyword, $ruleType) {
  var out = ' ';
  var $lvl = it.level;

File FskxWriterNodeModel.java has 282 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*******************************************************************************
 * Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
 *
 * This program is free software: you can redistribute it and/or modify it under the terms of the
 * GNU General Public License as published by the Free Software Foundation, either version 3 of the

Method loadSettingsFrom has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    protected void loadSettingsFrom(NodeSettingsRO settings,
            BufferedDataTable[] input) throws NotConfigurableException {
        try {
            set = new SettingsHelper();

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

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

Method initializeModel has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public static Model initializeModel(ModelType modelType) {

    if (modelType == null)
      return new GenericModel()
          .generalInformation(new GenericModelGeneralInformation()

Method writeArchive has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private static void writeArchive(File archiveFile, FskPortObject portObject,
      ExecutionContext exec) throws Exception {

    Map<String, URI> URIS = FSKML.getURIS(1, 0, 12);

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

    token: function (stream, state) {
      if (stream)

      //check for state changes
      if (!state.inString && !state.inComment && ((stream.peek() == '"') || (stream.peek() == "'"))) {
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/pegjs/pegjs.js - About 2 hrs to fix
Severity
Category
Status
Source
Language