ajkochanowicz/Kickstrap

View on GitHub
raw/throttler_edge.js

Summary

Maintainability
C
1 day
Test Coverage

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

            {
                id: 'EllipseCopy',
                type: 'ellipse',
                rect: ['432px', '61px','128px','128px','auto', 'auto'],
                borderRadius: ["50%", "50%", "50%", "50%"],
Severity: Minor
Found in raw/throttler_edge.js and 1 other location - About 45 mins to fix
raw/throttler_edge.js on lines 29..36

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

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

            {
                id: 'Ellipse',
                type: 'ellipse',
                rect: ['39px', '61px','128px','128px','auto', 'auto'],
                borderRadius: ["50%", "50%", "50%", "50%"],
Severity: Minor
Found in raw/throttler_edge.js and 1 other location - About 45 mins to fix
raw/throttler_edge.js on lines 37..44

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

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

                { id: "eid7", tween: [ "color", "${_Ellipse}", "background-color", 'rgba(216,205,180,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(253,215,38,1.00)'}], position: 750, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid5", tween: [ "color", "${_Ellipse}", "background-color", 'rgba(216,205,180,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(253,215,38,1.00)'}], position: 250, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid8", tween: [ "color", "${_Ellipse}", "background-color", 'rgba(253,215,38,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(216,205,180,1.00)'}], position: 1000, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid9", tween: [ "color", "${_Ellipse}", "background-color", 'rgba(216,205,180,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(253,215,38,1.00)'}], position: 1250, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid11", tween: [ "color", "${_Ellipse}", "background-color", 'rgba(216,205,180,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(253,215,38,1.00)'}], position: 1750, duration: 250, easing: "swing" }            ]
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117

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

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

                { id: "eid26", tween: [ "color", "${_EllipseCopy}", "background-color", 'rgba(216,205,180,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(216,205,180,1.00)'}], position: 0, duration: 0, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid6", tween: [ "color", "${_Ellipse}", "background-color", 'rgba(253,215,38,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(216,205,180,1.00)'}], position: 500, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid17", tween: [ "color", "${_EllipseCopy}", "background-color", 'rgba(253,215,38,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(216,205,180,1.00)'}], position: 1500, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid27", tween: [ "color", "${_EllipseCopy}", "background-color", 'rgba(216,205,180,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(253,215,38,1.00)'}], position: 1750, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid10", tween: [ "color", "${_Ellipse}", "background-color", 'rgba(253,215,38,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(216,205,180,1.00)'}], position: 1500, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 111..111
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 118..118

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

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

                { id: "eid4", tween: [ "color", "${_Ellipse}", "background-color", 'rgba(253,215,38,1.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(216,205,180,1.00)'}], position: 0, duration: 250, easing: "swing" },
Severity: Major
Found in raw/throttler_edge.js and 10 other locations - About 40 mins to fix
raw/throttler_edge.js on lines 107..107
raw/throttler_edge.js on lines 108..108
raw/throttler_edge.js on lines 109..109
raw/throttler_edge.js on lines 112..112
raw/throttler_edge.js on lines 113..113
raw/throttler_edge.js on lines 114..114
raw/throttler_edge.js on lines 115..115
raw/throttler_edge.js on lines 116..116
raw/throttler_edge.js on lines 117..117
raw/throttler_edge.js on lines 118..118

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

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

There are no issues that match your filters.

Category
Status