SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

        elements.up.on('mousemove.touchspin touchmove.touchspin', function(ev) {
          if (!spinning) {
            return;
          }

Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-touchspin.js and 1 other location - About 50 mins to fix
de.bund.bfr.knime.js/src/js/lib/bootstrap-touchspin.js on lines 474..481

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 52.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

Equation.prototype._noCrossProductsWithVariable = function(variable) {
    return this.lhs._noCrossProductsWithVariable(variable) && this.rhs._noCrossProductsWithVariable(variable);
};
de.bund.bfr.knime.pmm.nodes/js-src/de/bund/bfr/knime/pmm/js/modelplotter/algebra-0.2.6.min.js on lines 353..355

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 52.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable labore_Matrices = new MyTable("Labore_Matrices",
                new String[]{"Labore","Matrices"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{labore,matrix},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable aufbereitungsverfahren_Kits = new MyTable("Aufbereitungsverfahren_Kits",
                new String[]{"Aufbereitungsverfahren","Kits"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{aufbereitungsverfahren,kits},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable labore_Agenzien_Methodiken = new MyTable("Labore_Agenzien_Methodiken",
                new String[]{"Labore_Agenzien","Methodiken"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{labore_Agenzien,methodiken},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable krankheitsbilderrisikogruppen = new MyTable("Krankheitsbilder_Risikogruppen",
                new String[]{"Krankheitsbilder","Risikogruppen"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{diagnostik,risikogruppen},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable labore_Methodiken = new MyTable("Labore_Methodiken",
                new String[]{"Labore","Methodiken"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{labore,methodiken},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable krankheitsbildersymptome = new MyTable("Krankheitsbilder_Symptome",
                new String[]{"Krankheitsbilder","Symptome"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{diagnostik,symptome},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable nachweisverfahren_Kits = new MyTable("Nachweisverfahren_Kits",
                new String[]{"Nachweisverfahren","Kits"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{nachweisverfahren,kits},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable prozessLinks = new MyTable("Prozess_Verbindungen",
                new String[]{"Ausgangsprozess","Zielprozess"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{prozessdaten,prozessdaten},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable prozessFlowReferenzen = new MyTable("ProzessWorkflow_Literatur",
                new String[]{"ProzessWorkflow","Literatur"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{prozessFlow,literatur},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1102..1107
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 3 locations. Consider refactoring.
Open

    public static FskSimulation createDefaultSimulation(List<Parameter> parameters) {

    final FskSimulation simulation = new FskSimulation(DEFAULT_SIMULATION);

    // The parameters to be inserted in order
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_9_0/de/bund/bfr/knime/fsklab/nodes/v1_9/NodeUtils.java on lines 62..71
de.bund.bfr.knime.fsklab.nodes/src/de/bund/bfr/knime/fsklab/nodes/NodeUtils.java on lines 88..97

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 3 locations. Consider refactoring.
Open

  public static FskSimulation createDefaultSimulation(List<Parameter> parameters) {

    final FskSimulation simulation = new FskSimulation(DEFAULT_SIMULATION);

    // The parameters to be inserted in order
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_7_2/de/bund/bfr/knime/fsklab/nodes/NodeUtils.java on lines 40..49
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_9_0/de/bund/bfr/knime/fsklab/nodes/v1_9/NodeUtils.java on lines 62..71

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 3 locations. Consider refactoring.
Open

  public static FskSimulation createDefaultSimulation(List<Parameter> parameters) {

    final FskSimulation simulation = new FskSimulation(DEFAULT_SIMULATION);

    // The parameters to be inserted in order
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_7_2/de/bund/bfr/knime/fsklab/nodes/NodeUtils.java on lines 40..49
de.bund.bfr.knime.fsklab.nodes/src/de/bund/bfr/knime/fsklab/nodes/NodeUtils.java on lines 88..97

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 3 locations. Consider refactoring.
Open

  public static ExternalModelDefinition createExtSubModel(SBMLDocument doc, String externalFileName,
      CompSBMLDocumentPlugin compDoc, CompModelPlugin compMainModel, String subModelName)
      throws IOException, SBMLException, XMLStreamException {

    ExternalModelDefinition externalModel =
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_9_0/de/bund/bfr/knime/fsklab/v1_9/writer/WriterNodeModel.java on lines 630..641
de.bund.bfr.knime.fsklab.nodes/src/de/bund/bfr/knime/fsklab/v2_0/writer/WriterNodeModel.java on lines 733..744

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

        MyTable prozessReferenzen = new MyTable("Prozessdaten_Literatur",
                new String[]{"Prozessdaten","Literatur"},
                new String[]{"INTEGER","INTEGER"},
                new String[]{null,null},
                new MyTable[]{prozessdaten,literatur},
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java and 9 other locations - About 50 mins to fix
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 573..578
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 580..585
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 635..640
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 642..647
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 658..663
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 790..795
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 856..861
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1030..1035
org.hsh.bfr.db/src/org/hsh/bfr/db/MyDBTablesNew.java on lines 1143..1148

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 3 locations. Consider refactoring.
Open

  public static ExternalModelDefinition createExtSubModel(SBMLDocument doc, String externalFileName,
      CompSBMLDocumentPlugin compDoc, CompModelPlugin compMainModel, String subModelName)
      throws IOException, SBMLException, XMLStreamException {

    ExternalModelDefinition externalModel =
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_7_2/de/bund/bfr/knime/fsklab/nodes/v1_7_2/writer/WriterNodeModel.java on lines 577..588
de.bund.bfr.knime.fsklab.nodes/src/de/bund/bfr/knime/fsklab/v2_0/writer/WriterNodeModel.java on lines 733..744

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 3 locations. Consider refactoring.
Open

  public static ExternalModelDefinition createExtSubModel(SBMLDocument doc, String externalFileName,
      CompSBMLDocumentPlugin compDoc, CompModelPlugin compMainModel, String subModelName)
      throws IOException, SBMLException, XMLStreamException {

    ExternalModelDefinition externalModel =
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_7_2/de/bund/bfr/knime/fsklab/nodes/v1_7_2/writer/WriterNodeModel.java on lines 577..588
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_9_0/de/bund/bfr/knime/fsklab/v1_9/writer/WriterNodeModel.java on lines 630..641

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 6 locations. Consider refactoring.
Open

    public MdInfoXml(Integer id, String name, String comment, Integer qualityScore, Boolean checked) {
        this.id = id;
        this.name = name;
        this.comment = comment;
        this.qualityScore = qualityScore;
de.bund.bfr.knime.foodprocess.pcml/src/de/bund/bfr/knime/pcml/node/xls2pcml/XLS2PCMLNodeModel.java on lines 451..457
de.bund.bfr.knime.pmm.common/src/de/bund/bfr/knime/pmm/common/DepXml.java on lines 62..68
de.bund.bfr.knime.pmm.common/src/de/bund/bfr/knime/pmm/extendedtable/items/AgentXml.java on lines 57..63
de.bund.bfr.knime.pmm.common/src/de/bund/bfr/knime/pmm/extendedtable/items/MatrixXml.java on lines 57..63
org.hsh.bfr.db/src/org/hsh/bfr/db/gui/dbtree/MyDBTreeNode.java on lines 36..42

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 6 locations. Consider refactoring.
Open

    public ModelMetadata(int modelID, String matrix, String matrixDetails, String agent, String agentDetails) {
        this.modelID = modelID;
        this.matrix = matrix;
        this.matrixDetails = matrixDetails;
        this.agent = agent;
de.bund.bfr.knime.pmm.common/src/de/bund/bfr/knime/pmm/common/DepXml.java on lines 62..68
de.bund.bfr.knime.pmm.common/src/de/bund/bfr/knime/pmm/common/MdInfoXml.java on lines 35..41
de.bund.bfr.knime.pmm.common/src/de/bund/bfr/knime/pmm/extendedtable/items/AgentXml.java on lines 57..63
de.bund.bfr.knime.pmm.common/src/de/bund/bfr/knime/pmm/extendedtable/items/MatrixXml.java on lines 57..63
org.hsh.bfr.db/src/org/hsh/bfr/db/gui/dbtree/MyDBTreeNode.java on lines 36..42

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 60.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Severity
Category
Status
Source
Language