danielwippermann/resol-vbus

View on GitHub

Showing 345 of 557 total issues

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

        {
            "type": {
                "rootTypeId": "Number",
                "storeFactors": "1",
                "displayFactors": "1",
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 61..74
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 75..88
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 89..102
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 116..129
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1026..1039
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2480..2493

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 59.

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 7 locations. Consider refactoring.
Open

        {
            "type": {
                "rootTypeId": "Number",
                "storeFactors": "1",
                "displayFactors": "1",
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 6 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 61..74
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 89..102
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 116..129
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1026..1039
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 154..167
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2480..2493

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 59.

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 11 locations. Consider refactoring.
Open

        {
            "type": {
                "valueTexts": [
                    {
                        "value": 0
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 687..704
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 705..722
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 757..774
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 775..792
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1008..1025
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1087..1104
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1768..1785
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1786..1803
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1898..1915
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2411..2428

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 59.

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 11 locations. Consider refactoring.
Open

        {
            "type": {
                "valueTexts": [
                    {
                        "value": 0
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 687..704
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 705..722
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 757..774
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 775..792
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1008..1025
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1087..1104
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1768..1785
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1898..1915
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1916..1933
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2411..2428

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 59.

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 11 locations. Consider refactoring.
Open

        {
            "type": {
                "valueTexts": [
                    {
                        "value": 0
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 10 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 687..704
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 705..722
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 757..774
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 775..792
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1087..1104
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1768..1785
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1786..1803
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1898..1915
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1916..1933
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2411..2428

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 59.

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 11 locations. Consider refactoring.
Open

        {
            "type": {
                "valueTexts": [
                    {
                        "value": 0
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 10 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 687..704
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 705..722
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 757..774
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 775..792
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1008..1025
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1768..1785
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1786..1803
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1898..1915
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1916..1933
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2411..2428

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 59.

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 7 locations. Consider refactoring.
Open

        {
            "type": {
                "rootTypeId": "Number",
                "storeFactors": "1",
                "displayFactors": "1",
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 6 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 75..88
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 89..102
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 116..129
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1026..1039
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 154..167
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2480..2493

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 59.

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 7 locations. Consider refactoring.
Open

        {
            "type": {
                "rootTypeId": "Number",
                "storeFactors": "1",
                "displayFactors": "1",
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 6 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 61..74
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 75..88
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 116..129
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1026..1039
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 154..167
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2480..2493

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 59.

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 7 locations. Consider refactoring.
Open

        {
            "type": {
                "rootTypeId": "Number",
                "storeFactors": "0,1",
                "displayFactors": "0,1",
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 6 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 61..74
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 75..88
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 89..102
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 116..129
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 154..167
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2480..2493

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 59.

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 11 locations. Consider refactoring.
Open

        {
            "type": {
                "valueTexts": [
                    {
                        "value": 0
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 10 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 687..704
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 705..722
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 757..774
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1008..1025
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1087..1104
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1768..1785
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1786..1803
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1898..1915
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1916..1933
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2411..2428

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 59.

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 11 locations. Consider refactoring.
Open

        {
            "type": {
                "valueTexts": [
                    {
                        "value": 0
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 10 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 705..722
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 757..774
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 775..792
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1008..1025
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1087..1104
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1768..1785
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1786..1803
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1898..1915
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1916..1933
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2411..2428

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 59.

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 11 locations. Consider refactoring.
Open

        {
            "type": {
                "valueTexts": [
                    {
                        "value": 0
Severity: Major
Found in src/configuration-optimizers/resol-deltasol-c-104-data.js and 10 other locations - About 1 hr to fix
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 687..704
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 757..774
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 775..792
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1008..1025
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1087..1104
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1768..1785
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1786..1803
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1898..1915
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1916..1933
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 2411..2428

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 59.

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 11 locations. Consider refactoring.
Open

        {
            "type": {
                "valueTexts": [
                    {
                        "value": 0
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 687..704
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 705..722
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 757..774
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 775..792
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1008..1025
src/configuration-optimizers/resol-deltasol-c-104-data.js on lines 1087..1104
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1768..1785
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1786..1803
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1898..1915
src/configuration-optimizers/resol-deltasol-cs-plus-110-data.js on lines 1916..1933

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 59.

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 4 locations. Consider refactoring.
Open

        value.isChanged(() => {
            $(/^Solar_.*/).invalidate();
            $(/^Anlage_.*/).invalidate();
            $(/^Heizung_.*/).invalidate();
        });
src/configuration-optimizers/resol-deltasol-bx-plus-xxx-configuration-optimizer.js on lines 31..35
src/configuration-optimizers/resol-deltasol-mx-112-configuration-optimizer.js on lines 31..35
src/configuration-optimizers/resol-deltasol-mx-2xx-configuration-optimizer.js on lines 42..46

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 58.

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 4 locations. Consider refactoring.
Open

        value.isChanged(() => {
            $(/^Solar_.*/).invalidate();
            $(/^Anlage_.*/).invalidate();
            $(/^Heizung_.*/).invalidate();
        });
src/configuration-optimizers/resol-deltasol-bx-plus-xxx-configuration-optimizer.js on lines 31..35
src/configuration-optimizers/resol-deltasol-mx-2xx-configuration-optimizer.js on lines 42..46
src/configuration-optimizers/resol-deltasol-slt-102-configuration-optimizer.js on lines 23..27

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 58.

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

        } else if (inputRscFilename == null) {
            inputRscFilename = arg;
        } else if (inputImageFilename == null) {
            inputImageFilename = arg;
        } else if (outputJsFilename == null) {
Severity: Major
Found in tools/rsc-scheme-converter/main.js and 1 other location - About 1 hr to fix
examples/customizer2/src/main.js on lines 86..94

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 58.

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 4 locations. Consider refactoring.
Open

        value.isChanged(() => {
            $(/^Solar_.*/).invalidate();
            $(/^Anlage_.*/).invalidate();
            $(/^Heizung_.*/).invalidate();
        });
src/configuration-optimizers/resol-deltasol-mx-112-configuration-optimizer.js on lines 31..35
src/configuration-optimizers/resol-deltasol-mx-2xx-configuration-optimizer.js on lines 42..46
src/configuration-optimizers/resol-deltasol-slt-102-configuration-optimizer.js on lines 23..27

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 58.

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 4 locations. Consider refactoring.
Open

        value.isChanged(() => {
            $(/^Solar_.*/).invalidate();
            $(/^Anlage_.*/).invalidate();
            $(/^Heizung_.*/).invalidate();
        });
src/configuration-optimizers/resol-deltasol-bx-plus-xxx-configuration-optimizer.js on lines 31..35
src/configuration-optimizers/resol-deltasol-mx-112-configuration-optimizer.js on lines 31..35
src/configuration-optimizers/resol-deltasol-slt-102-configuration-optimizer.js on lines 23..27

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 58.

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

        } else if (arg.startsWith('--')) {
            usage(`Unknown option: ${arg}`);
        } else if (action == null) {
            action = arg;
        } else if (actionFilename == null) {
Severity: Major
Found in examples/customizer2/src/main.js and 1 other location - About 1 hr to fix
tools/rsc-scheme-converter/main.js on lines 55..63

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 58.

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

        } else if (rootType === 'Weektime') {
            textValue = this.i18n.moment((rawValue + 5760) * 60000).utc().format('dd,HH:mm');
            result = textValue + unitText;
        } else if (rootType === 'DateTime') {
            textValue = this.i18n.moment((rawValue + 978307200) * 1000).utc().format('L HH:mm:ss');
Severity: Major
Found in src/specification.js and 1 other location - About 1 hr to fix
src/specification.js on lines 1117..1146

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 57.

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