SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Method eSet has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void eSet(int featureID, Object newValue) {
        switch (featureID) {
            case MetadataPackage.CONTACT__TITLE:
                setTitle((String)newValue);

Method eSet has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void eSet(int featureID, Object newValue) {
        switch (featureID) {
            case MetadataPackage.REFERENCE__IS_REFERENCE_DESCRIPTION:
                setIsReferenceDescription((Boolean)newValue);

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

    @Override
    public void eUnset(int featureID) {
        switch (featureID) {
            case MetadataPackage.CONTACT__TITLE:
                setTitle(TITLE_EDEFAULT);

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

    @Override
    public void eUnset(int featureID) {
        switch (featureID) {
            case MetadataPackage.REFERENCE__IS_REFERENCE_DESCRIPTION:
                setIsReferenceDescription(IS_REFERENCE_DESCRIPTION_EDEFAULT);

Method eSet has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void eSet(int featureID, Object newValue) {
        switch (featureID) {
            case MetadataPackage.HAZARD__HAZARD_TYPE:
                setHazardType((String)newValue);

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

    @Override
    public void eUnset(int featureID) {
        switch (featureID) {
            case MetadataPackage.HAZARD__HAZARD_TYPE:
                setHazardType(HAZARD_TYPE_EDEFAULT);

Method loadEstModelGui has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void loadEstModelGui(final NodeSettingsRO settings) throws InvalidSettingsException {
        try {
            Config c = settings.getConfig("EstModelReaderUi");
            estModelReaderUiSettings = c;

Method execute has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec)
            throws Exception {
        DataTable table = (DataTable) inObjects[0];
        TableReader reader = new TableReader(table, set.getUsedConditions());

Method getDblVal has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void getDblVal(MyDBTable myDBTable, int row, int col, HSSFRow row0, HSSFRow rowi) {
        Object key = myDBTable.getValueAt(row, col);
        if (key != null) {
            try {
            ResultSet rs = DBKernel.getResultSet("SELECT * FROM " + DBKernel.delimitL("DoubleKennzahlen") +
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/exports/ExcelExport.java - About 1 hr to fix

Method getTuplesToCombine has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static Map<KnimeTuple, List<KnimeTuple>> getTuplesToCombine(List<KnimeTuple> tuples, boolean containsData) {
        KnimeSchema outSchema = null;

        if (containsData) {
            outSchema = SchemaFactory.createM1DataSchema();

Method getTableCellRendererComponent has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        @Override
        public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus, int row,
                int column) {
            int statusColumn = -1;

Method testConstructors has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testConstructors() {

        // Test constructor with name, time, timeUnit, concentration, concentrationUnit,
        // concentrationStdDev, numberOfMeasurements

Method execute has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public BufferedDataTable execute(final ExecutionContext exec) {
        Map<NameAndDbId, Integer> columns = createColumnMap(pcmlDoc);
        Map<String, ProcessNode> processNodes = createProcessNodeMap(pcmlDoc);

        Double timeDiff = null;

Function xmlToken has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function xmlToken(stream, state, cx) {
      if (cx.depth == 2) { // Inside a JS /* */ comment
        if (stream.match(/^.*?\*\//)) cx.depth = 1
        else stream.skipToEnd()
        return "comment"
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/jsx/jsx.js - About 1 hr to fix

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

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

    var sol = stream.sol();
    var ch = stream.next();
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/troff/troff.js - About 1 hr to fix

Function measureCharInner has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function measureCharInner(cm, prepared, ch, bias) {
    var place = nodeAndOffsetInLineMap(prepared.map, ch, bias);
    var node = place.node, start = place.start, end = place.end, collapse = place.collapse;

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

Function Select2 has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var Select2 = function ($element, options) {
    if (Utils.GetData($element[0], 'select2') != null) {
      Utils.GetData($element[0], 'select2').destroy();
    }

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

Function start has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    force.start = function() {
      var i, j, n = nodes.length, m = links.length, w = size[0], h = size[1], neighbors, o;
      for (i = 0; i < n; ++i) {
        (o = nodes[i]).index = i;
        o.weight = 0;

Function path has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.geo.path = function() {
    var pointRadius = 4.5, projection, context, projectStream, contextStream, cacheStream;
    function path(object) {
      if (object) {
        if (typeof pointRadius === "function") contextStream.pointRadius(+pointRadius.apply(this, arguments));

Function _destroy has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _destroy: function() {
        if ( this.xhr ) {
            this.xhr.abort();
        }
Severity
Category
Status
Source
Language