assets/constants.ts

Summary

Maintainability
F
1 mo
Test Coverage

File constants.ts has 7027 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// We are using eslint disable here for multilines because we have used quotes
// around properties at a lot of places so it is not possible to use
// "eslint disable next line" for each of them.
/* eslint-disable oppia/no-multiline-disable */
/* eslint-disable quote-props */
Severity: Major
Found in assets/constants.ts - About 2 wks to fix

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

        "image": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 4572..4672

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

    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

        "text": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 3152..3252

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

    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

        "a": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 4096..4195

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

    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

        "rect": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 486..585

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

    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

        "animatecolor": [
          "about",
          "accumulate",
          "additive",
          "alignment-baseline",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 4864..4962

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

    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

        "tspan": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 701..799

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

    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

        "line": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 1215..1312

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

    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

        "ellipse": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 3253..3350

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

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

        "path": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 2 other locations - About 3 hrs to fix
    assets/constants.ts on lines 3821..3915
    assets/constants.ts on lines 3916..4010

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

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

        "polygon": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 2 other locations - About 3 hrs to fix
    assets/constants.ts on lines 3638..3732
    assets/constants.ts on lines 3916..4010

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

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

        "polyline": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 2 other locations - About 3 hrs to fix
    assets/constants.ts on lines 3638..3732
    assets/constants.ts on lines 3821..3915

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

    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

        "switch": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 2876..2968

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

    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

        "g": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 3 hrs to fix
    assets/constants.ts on lines 4400..4492

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

    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

        "fecomposite": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 2 hrs to fix
    assets/constants.ts on lines 4673..4758

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

    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

        "textpath": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 2 hrs to fix
    assets/constants.ts on lines 1557..1642

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

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

        "tref": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 2 other locations - About 2 hrs to fix
    assets/constants.ts on lines 586..670
    assets/constants.ts on lines 4011..4095

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

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

        "radialgradient": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 2 other locations - About 2 hrs to fix
    assets/constants.ts on lines 586..670
    assets/constants.ts on lines 4779..4863

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

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

        "altglyph": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 2 other locations - About 2 hrs to fix
    assets/constants.ts on lines 4011..4095
    assets/constants.ts on lines 4779..4863

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

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

        "fedisplacementmap": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 2442..2525
    assets/constants.ts on lines 2629..2712
    assets/constants.ts on lines 3517..3600

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

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

        "fespecularlighting": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1815..1898
    assets/constants.ts on lines 2629..2712
    assets/constants.ts on lines 3517..3600

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

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

        "feturbulence": [
          "about",
          "alignment-baseline",
          "basefrequency",
          "baseline-shift",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1815..1898
    assets/constants.ts on lines 2442..2525
    assets/constants.ts on lines 3517..3600

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

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

        "mask": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1815..1898
    assets/constants.ts on lines 2442..2525
    assets/constants.ts on lines 2629..2712

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

    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

      "VALID_ALLOWED_VARIABLES": [
        "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o",
        "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D",
        "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S",
        "T", "U", "V", "W", "X", "Y", "Z",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 2 hrs to fix
    assets/constants.ts on lines 6375..6383

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

    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

      "VALID_ALGEBRAIC_IDENTIFIERS": [
        "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o",
        "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D",
        "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S",
        "T", "U", "V", "W", "X", "Y", "Z",
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 2 hrs to fix
    assets/constants.ts on lines 6386..6393

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

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

        "fediffuselighting": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 2969..3051
    assets/constants.ts on lines 3351..3433
    assets/constants.ts on lines 3434..3516

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

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

        "marker": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1732..1814
    assets/constants.ts on lines 2969..3051
    assets/constants.ts on lines 3351..3433

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

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

        "lineargradient": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1732..1814
    assets/constants.ts on lines 2969..3051
    assets/constants.ts on lines 3434..3516

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

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

        "glyph": [
          "about",
          "alignment-baseline",
          "arabic-form",
          "baseline-shift",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1732..1814
    assets/constants.ts on lines 3351..3433
    assets/constants.ts on lines 3434..3516

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

    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

        "femorphology": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1313..1394
    assets/constants.ts on lines 1395..1476
    assets/constants.ts on lines 2083..2164
    assets/constants.ts on lines 2342..2423
    assets/constants.ts on lines 2713..2794

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

    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

        "filter": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1313..1394
    assets/constants.ts on lines 1395..1476
    assets/constants.ts on lines 2083..2164
    assets/constants.ts on lines 2260..2341
    assets/constants.ts on lines 2342..2423

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

    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

        "fegaussianblur": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1313..1394
    assets/constants.ts on lines 1395..1476
    assets/constants.ts on lines 2260..2341
    assets/constants.ts on lines 2342..2423
    assets/constants.ts on lines 2713..2794

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

    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

        "feoffset": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1313..1394
    assets/constants.ts on lines 1395..1476
    assets/constants.ts on lines 2083..2164
    assets/constants.ts on lines 2260..2341
    assets/constants.ts on lines 2713..2794

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

    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

        "fecolormatrix": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1313..1394
    assets/constants.ts on lines 2083..2164
    assets/constants.ts on lines 2260..2341
    assets/constants.ts on lines 2342..2423
    assets/constants.ts on lines 2713..2794

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

    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

        "feblend": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1395..1476
    assets/constants.ts on lines 2083..2164
    assets/constants.ts on lines 2260..2341
    assets/constants.ts on lines 2342..2423
    assets/constants.ts on lines 2713..2794

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

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

        "fecomponenttransfer": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1036..1115
    assets/constants.ts on lines 2549..2628
    assets/constants.ts on lines 3052..3131

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

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

        "glyphref": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1036..1115
    assets/constants.ts on lines 1477..1556
    assets/constants.ts on lines 2549..2628

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

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

        "clippath": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1477..1556
    assets/constants.ts on lines 2549..2628
    assets/constants.ts on lines 3052..3131

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

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

        "fetile": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1036..1115
    assets/constants.ts on lines 1477..1556
    assets/constants.ts on lines 3052..3131

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

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

        "symbol": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1116..1194
    assets/constants.ts on lines 1916..1994
    assets/constants.ts on lines 2165..2243

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

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

        "defs": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1916..1994
    assets/constants.ts on lines 2165..2243
    assets/constants.ts on lines 4493..4571

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

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

        "femerge": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1116..1194
    assets/constants.ts on lines 1916..1994
    assets/constants.ts on lines 4493..4571

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

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

        "feflood": [
          "about",
          "alignment-baseline",
          "baseline-shift",
          "class",
    Severity: Major
    Found in assets/constants.ts and 3 other locations - About 2 hrs to fix
    assets/constants.ts on lines 1116..1194
    assets/constants.ts on lines 2165..2243
    assets/constants.ts on lines 4493..4571

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

    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

        "BLOG_AUTHOR_PROFILE_PAGE": {
          "ROUTE": "blog/author/:author_username",
          "TITLE": "I18N_BLOG_AUTHOR_PROFILE_PAGE_TITLE",
          "MANUALLY_REGISTERED_WITH_BACKEND": true,
          "META": [
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 1 hr to fix
    assets/constants.ts on lines 7367..7385

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

    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

        "SPLASH": {
          "ROUTE": "",
          "TITLE": "Oppia | Free, Online and Interactive Lessons for Anyone",
          "LIGHTWEIGHT": true,
          "META": [
    Severity: Major
    Found in assets/constants.ts and 1 other location - About 1 hr to fix
    assets/constants.ts on lines 7245..7263

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

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

        "MODERATOR": {
          "ROUTE": "moderator",
          "TITLE": "Moderator Tools - Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "DONATE": {
          "ROUTE": "donate",
          "TITLE": "I18N_DONATE_PAGE_BROWSER_TAB_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "LIBRARY_RECENTLY_PUBLISHED": {
          "ROUTE": "community-library/recently-published",
          "TITLE": "Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "LIBRARY_TOP_RATED": {
          "ROUTE": "community-library/top-rated",
          "TITLE": "Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "PLAYBOOK": {
          "ROUTE": "creator-guidelines",
          "TITLE": "I18N_PLAYBOOK_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "COLLECTION_EDITOR": {
          "ROUTE": "collection_editor/create/:collection_id",
          "TITLE": "Collection Editor Page",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "LEARNER_DASHBOARD": {
          "ROUTE": "learner-dashboard",
          "TITLE": "I18N_TOPNAV_LEARNER_DASHBOARD",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "LIBRARY_INDEX": {
          "ROUTE": "community-library",
          "TITLE": "Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "DIAGNOSTIC_TEST_PLAYER": {
          "ROUTE": "diagnostic-test-player",
          "TITLE": "Diagnostic Test Player - Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "CONTRIBUTOR_DASHBOARD_ADMIN": {
          "ROUTE": "contributor-admin-dashboard",
          "TITLE": "Contributor Dashboard Admin",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "CONTACT": {
          "ROUTE": "contact",
          "TITLE": "I18N_CONTACT_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "LIBRARY_SEARCH": {
          "ROUTE": "search/find",
          "TITLE": "Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "FACILITATOR_DASHBOARD": {
          "ROUTE": "facilitator-dashboard",
          "TITLE": "Facilitator Dashboard - Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "TERMS": {
          "ROUTE": "terms",
          "TITLE": "I18N_TERMS_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "ADMIN": {
          "ROUTE": "admin",
          "TITLE": "Oppia Admin Panel",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "EMAIL_DASHBOARD": {
          "ROUTE": "emaildashboard",
          "TITLE": "Email Dashboard - Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "ABOUT": {
          "ROUTE": "about",
          "TITLE": "I18N_ABOUT_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "CURRICULUM_ADMIN": {
          "ROUTE": "classroom-admin",
          "TITLE": "Oppia Classroom Admin Panel",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "ANDROID": {
          "ROUTE": "android",
          "TITLE": "Android | Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "TEACH": {
          "ROUTE": "teach",
          "TITLE": "I18N_TEACH_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "RELEASE_COORDINATOR_PAGE": {
          "ROUTE": "release-coordinator",
          "TITLE": "I18N_RELEASE_COORDINATOR_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "LEARNER_GROUP_EDITOR": {
          "ROUTE": "edit-learner-group/:learner_group_id",
          "TITLE": "Edit Learner Group | Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339

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

        "BLOG_HOMEPAGE": {
          "ROUTE": "blog",
          "TITLE": "I18N_BLOG_HOME_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "LEARNER_GROUP_CREATOR": {
          "ROUTE": "create-learner-group",
          "TITLE": "Create Learner Group | Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7340..7357

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

        "BLOG_HOMEPAGE_SEARCH": {
          "ROUTE": "blog/search/find",
          "TITLE": "I18N_BLOG_HOME_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "BLOG_ADMIN": {
          "ROUTE": "blog-admin",
          "TITLE": "Oppia Blog Admin Panel",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "BLOG_DASHBOARD": {
          "ROUTE": "blog-dashboard",
          "TITLE": "Blog Dashboard - Oppia",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7304..7321
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "VOICEOVER_ADMIN": {
          "ROUTE": "voiceover-admin",
          "TITLE": "Voiceover Admin Panel",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 27 other locations - About 1 hr to fix
    assets/constants.ts on lines 6593..6610
    assets/constants.ts on lines 6611..6628
    assets/constants.ts on lines 6638..6655
    assets/constants.ts on lines 6656..6673
    assets/constants.ts on lines 6674..6691
    assets/constants.ts on lines 6692..6709
    assets/constants.ts on lines 6710..6727
    assets/constants.ts on lines 6765..6782
    assets/constants.ts on lines 6783..6800
    assets/constants.ts on lines 6801..6818
    assets/constants.ts on lines 6819..6836
    assets/constants.ts on lines 6837..6854
    assets/constants.ts on lines 6871..6888
    assets/constants.ts on lines 6920..6937
    assets/constants.ts on lines 6960..6977
    assets/constants.ts on lines 6978..6995
    assets/constants.ts on lines 7017..7034
    assets/constants.ts on lines 7035..7052
    assets/constants.ts on lines 7053..7070
    assets/constants.ts on lines 7071..7088
    assets/constants.ts on lines 7135..7152
    assets/constants.ts on lines 7191..7208
    assets/constants.ts on lines 7209..7226
    assets/constants.ts on lines 7227..7244
    assets/constants.ts on lines 7286..7303
    assets/constants.ts on lines 7322..7339
    assets/constants.ts on lines 7340..7357

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

        "THANKS": {
          "ROUTE": "thanks",
          "TITLE": "I18N_THANKS_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 4 other locations - About 1 hr to fix
    assets/constants.ts on lines 6855..6870
    assets/constants.ts on lines 6889..6904
    assets/constants.ts on lines 7094..7109
    assets/constants.ts on lines 7110..7125

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

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

        "FEEDBACK_UPDATES": {
          "ROUTE": "feedback-updates",
          "TITLE": "Feedback Updates",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 4 other locations - About 1 hr to fix
    assets/constants.ts on lines 6855..6870
    assets/constants.ts on lines 6889..6904
    assets/constants.ts on lines 6996..7011
    assets/constants.ts on lines 7094..7109

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

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

        "GET_STARTED": {
          "ROUTE": "get-started",
          "TITLE": "I18N_GET_STARTED_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 4 other locations - About 1 hr to fix
    assets/constants.ts on lines 6889..6904
    assets/constants.ts on lines 6996..7011
    assets/constants.ts on lines 7094..7109
    assets/constants.ts on lines 7110..7125

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

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

        "PREFERENCES": {
          "ROUTE": "preferences",
          "TITLE": "I18N_PREFERENCES_PAGE_BROWSER_TAB_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 4 other locations - About 1 hr to fix
    assets/constants.ts on lines 6855..6870
    assets/constants.ts on lines 6889..6904
    assets/constants.ts on lines 6996..7011
    assets/constants.ts on lines 7110..7125

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

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

        "LICENSE": {
          "ROUTE": "license",
          "TITLE": "I18N_LICENSE_PAGE_TITLE",
          "META": [
            {
    Severity: Major
    Found in assets/constants.ts and 4 other locations - About 1 hr to fix
    assets/constants.ts on lines 6855..6870
    assets/constants.ts on lines 6996..7011
    assets/constants.ts on lines 7094..7109
    assets/constants.ts on lines 7110..7125

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

    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

        {
          "backend_id": "minimum_exp_created",
          "backend_attr": "created_at_least_n_exps",
          "description": "Has created at least n explorations",
          "schema": {
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 50 mins to fix
    assets/constants.ts on lines 6496..6508
    assets/constants.ts on lines 6509..6521
    assets/constants.ts on lines 6535..6547
    assets/constants.ts on lines 6548..6560
    assets/constants.ts on lines 6561..6573

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

    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

        {
          "backend_id": "user_login_activity",
          "backend_attr": "has_not_logged_in_for_n_days",
          "description": "Has not logged in for n days",
          "schema": {
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 50 mins to fix
    assets/constants.ts on lines 6496..6508
    assets/constants.ts on lines 6522..6534
    assets/constants.ts on lines 6535..6547
    assets/constants.ts on lines 6548..6560
    assets/constants.ts on lines 6561..6573

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

    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

        {
          "backend_id": "maximum_exp_created",
          "backend_attr": "created_fewer_than_n_exps",
          "description": "Has created fewer than n explorations",
          "schema": {
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 50 mins to fix
    assets/constants.ts on lines 6496..6508
    assets/constants.ts on lines 6509..6521
    assets/constants.ts on lines 6522..6534
    assets/constants.ts on lines 6548..6560
    assets/constants.ts on lines 6561..6573

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

    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

        {
          "backend_id": "minimum_exp_edited",
          "backend_attr": "edited_at_least_n_exps",
          "description": "Has edited at least n explorations",
          "schema": {
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 50 mins to fix
    assets/constants.ts on lines 6496..6508
    assets/constants.ts on lines 6509..6521
    assets/constants.ts on lines 6522..6534
    assets/constants.ts on lines 6535..6547
    assets/constants.ts on lines 6561..6573

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

    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

        {
          "backend_id": "user_inactivity",
          "backend_attr": "inactive_in_last_n_days",
          "description": "Inactive in last n days",
          "schema": {
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 50 mins to fix
    assets/constants.ts on lines 6509..6521
    assets/constants.ts on lines 6522..6534
    assets/constants.ts on lines 6535..6547
    assets/constants.ts on lines 6548..6560
    assets/constants.ts on lines 6561..6573

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

    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

        {
          "backend_id": "maximum_exp_edited",
          "backend_attr": "edited_fewer_than_n_exps",
          "description": "Has edited fewer than n explorations",
          "schema": {
    Severity: Major
    Found in assets/constants.ts and 5 other locations - About 50 mins to fix
    assets/constants.ts on lines 6496..6508
    assets/constants.ts on lines 6509..6521
    assets/constants.ts on lines 6522..6534
    assets/constants.ts on lines 6535..6547
    assets/constants.ts on lines 6548..6560

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

    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

        "animatemotion": [
          "about",
          "accumulate",
          "additive",
          "begin",
    Severity: Minor
    Found in assets/constants.ts and 1 other location - About 40 mins to fix
    assets/constants.ts on lines 76..83

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

    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

      "ALL_CATEGORIES": ["Algebra", "Algorithms", "Architecture", "Arithmetic",
        "Art", "Astronomy", "Biology", "Business", "Calculus", "Chemistry",
        "Combinatorics", "Computing", "Economics", "Education", "Engineering",
        "English", "Environment", "Gaulish", "Geography", "Geometry", "Government",
        "Graph Theory", "History", "Languages", "Latin", "Law", "Logic",
    Severity: Minor
    Found in assets/constants.ts and 1 other location - About 40 mins to fix
    assets/constants.ts on lines 800..843

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

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

      "SCHEMA_FOR_TOPIC_URL_FRAGMENTS": {
        "schema": {
          "type": "basestring",
          "validators": [{
            "id": "is_regex_matched",
    Severity: Minor
    Found in assets/constants.ts and 2 other locations - About 35 mins to fix
    assets/constants.ts on lines 7417..7428
    assets/constants.ts on lines 7430..7441

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

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

      "SCHEMA_FOR_CLASSROOM_URL_FRAGMENTS": {
        "schema": {
          "type": "basestring",
          "validators": [{
            "id": "is_regex_matched",
    Severity: Minor
    Found in assets/constants.ts and 2 other locations - About 35 mins to fix
    assets/constants.ts on lines 7404..7415
    assets/constants.ts on lines 7430..7441

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

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

      "SCHEMA_FOR_STORY_URL_FRAGMENTS": {
        "schema": {
          "type": "basestring",
          "validators": [{
            "id": "is_regex_matched",
    Severity: Minor
    Found in assets/constants.ts and 2 other locations - About 35 mins to fix
    assets/constants.ts on lines 7404..7415
    assets/constants.ts on lines 7417..7428

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

    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