leonitousconforti/tinyburg

View on GitHub
packages/nucleus/src/data/roofs.ts

Summary

Maintainability
F
4 days
Test Coverage

File roofs.ts has 464 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * This file was auto-generated by a frida agent
 *
 * Generated by:
 * /workspaces/tinyburg/packages/insight/dist/src/agents/get-roof-data.js
Severity: Minor
Found in packages/nucleus/src/data/roofs.ts - About 7 hrs to fix

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

            animations: [
                { element: "watertube", x: 43, y: 68, ftime: "0.15" },
                { element: "watertube", x: 43, y: 105, ftime: "0.12" },
                { element: "waterspill", x: 55, y: 138, ftime: "0.12" },
                { element: "slideguy", x: 44, y: 136, ftime: "0.1" },
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 2 other locations - About 4 hrs to fix
    packages/nucleus/src/data/elevators.ts on lines 73..79
    packages/nucleus/src/data/floors.ts on lines 631..637

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

    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

            animations: [
                { element: "shuttlea", x: 30, y: 162, ftime: "1.25" },
                { element: "shuttleb", x: 131, y: 165, ftime: "1.25" },
                { element: "shuttlec", x: 15, y: 344, ftime: "1.25" },
                { element: "shuttled", x: 138, y: 346, ftime: "1.25" },
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 3 other locations - About 2 hrs to fix
    packages/nucleus/src/data/floors.ts on lines 284..289
    packages/nucleus/src/data/floors.ts on lines 811..816
    packages/nucleus/src/data/roofs.ts on lines 428..433

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

    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

            animations: [
                { element: "heart", x: 35, y: 100, ftime: "0.25" },
                { element: "heart", x: 20, y: 90, ftime: "0.15" },
                { element: "heart", x: 135, y: 85, ftime: "0.25" },
                { element: "heart", x: 120, y: 80, ftime: "0.15" },
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 3 other locations - About 2 hrs to fix
    packages/nucleus/src/data/floors.ts on lines 284..289
    packages/nucleus/src/data/floors.ts on lines 811..816
    packages/nucleus/src/data/roofs.ts on lines 155..160

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

    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

            animations: [
                { element: "roof62snow", x: 70, y: 50, ftime: "0.25" },
                { element: "roof62star", x: 105, y: 42, ftime: "0.15" },
                { element: "roof62tree", x: 98, y: 89, ftime: "0.25" },
            ],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 3 other locations - About 1 hr to fix
    packages/nucleus/src/data/floors.ts on lines 491..495
    packages/nucleus/src/data/floors.ts on lines 774..778
    packages/nucleus/src/data/roofs.ts on lines 418..422

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

    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

            animations: [
                { element: "eye", x: 52, y: 46, ftime: "0.15" },
                { element: "embers", x: 18, y: 52, ftime: "0.15" },
                { element: "dragon_ball", x: 50, y: 96, ftime: "0.15" },
            ],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 3 other locations - About 1 hr to fix
    packages/nucleus/src/data/floors.ts on lines 491..495
    packages/nucleus/src/data/floors.ts on lines 774..778
    packages/nucleus/src/data/roofs.ts on lines 399..403

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

    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

        {
            name: "Flyboard Acrobatics",
            hidden: true,
            fwcolors: [],
            animations: [
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 1 other location - About 1 hr to fix
    packages/nucleus/src/data/roofs.ts on lines 316..324

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

    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

        {
            name: "Monster Truck Arena",
            hidden: true,
            fwcolors: [],
            animations: [
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 1 other location - About 1 hr to fix
    packages/nucleus/src/data/roofs.ts on lines 345..353

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

    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

            animations: [
                { element: "redlight", x: 93, y: 75, ftime: "1" },
                { element: "redlight", x: 136, y: 0, ftime: "1", startframe: 2 },
            ],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 3 other locations - About 1 hr to fix
    packages/nucleus/src/data/elevators.ts on lines 51..54
    packages/nucleus/src/data/floors.ts on lines 407..410
    packages/nucleus/src/data/floors.ts on lines 481..484

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

    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

        {
            name: "Spooky",
            fwcolors: [],
            animations: [{ element: "roofwindow", x: 19, y: 174, ftime: "0.1", frontlayer: 1, loopdelay: [] }],
        },
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 2 other locations - About 50 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 121..125
    packages/nucleus/src/data/roofs.ts on lines 203..207

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 52.

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "Pocket Train",
            fwcolors: [],
            animations: [{ element: "bitblinkd", x: 89, y: 89, ftime: "0.25", frontlayer: 1, loopdelay: [] }],
        },
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 2 other locations - About 50 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 177..181
    packages/nucleus/src/data/roofs.ts on lines 203..207

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 52.

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "Statue",
            fwcolors: [],
            animations: [{ element: "statueglint", x: 23, y: 175, ftime: "0.05", frontlayer: 1, loopdelay: [] }],
        },
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 2 other locations - About 50 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 121..125
    packages/nucleus/src/data/roofs.ts on lines 177..181

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 52.

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "Tiny ice factory",
            holiday: "IceCream",
            fwcolors: [],
            animations: [{ element: "machine", x: 1, y: 95, ftime: "0.05" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 5 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 265..270
    packages/nucleus/src/data/roofs.ts on lines 286..291
    packages/nucleus/src/data/roofs.ts on lines 298..303
    packages/nucleus/src/data/roofs.ts on lines 310..315
    packages/nucleus/src/data/roofs.ts on lines 388..393

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

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "Drive-in cinema",
            hidden: true,
            fwcolors: [],
            animations: [{ element: "roof45anim", x: 0, y: 71, ftime: "0.15" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 6 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 272..277
    packages/nucleus/src/data/roofs.ts on lines 292..297
    packages/nucleus/src/data/roofs.ts on lines 304..309
    packages/nucleus/src/data/roofs.ts on lines 435..440
    packages/nucleus/src/data/roofs.ts on lines 443..448
    packages/nucleus/src/data/roofs.ts on lines 449..454

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

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "ski resort",
            hidden: true,
            fwcolors: [],
            animations: [{ element: "roof49anim", x: 0, y: 80, ftime: "0.15" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 6 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 272..277
    packages/nucleus/src/data/roofs.ts on lines 280..285
    packages/nucleus/src/data/roofs.ts on lines 292..297
    packages/nucleus/src/data/roofs.ts on lines 435..440
    packages/nucleus/src/data/roofs.ts on lines 443..448
    packages/nucleus/src/data/roofs.ts on lines 449..454

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

    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

        {
            name: "American Flag Roof",
            holiday: "Independence Day",
            fwcolors: [],
            animations: [{ element: "amflag", x: 59, y: 78, ftime: "0.2" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 5 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 286..291
    packages/nucleus/src/data/roofs.ts on lines 298..303
    packages/nucleus/src/data/roofs.ts on lines 310..315
    packages/nucleus/src/data/roofs.ts on lines 339..344
    packages/nucleus/src/data/roofs.ts on lines 388..393

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

    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

        {
            name: "dark forest",
            holiday: "Halloween",
            fwcolors: [],
            animations: [{ element: "house", x: 63, y: 65, ftime: "0.15" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 5 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 265..270
    packages/nucleus/src/data/roofs.ts on lines 286..291
    packages/nucleus/src/data/roofs.ts on lines 310..315
    packages/nucleus/src/data/roofs.ts on lines 339..344
    packages/nucleus/src/data/roofs.ts on lines 388..393

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

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "mysterious castle",
            hidden: true,
            fwcolors: [],
            animations: [{ element: "roof47anim", x: 0, y: 107, ftime: "0.15" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 6 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 272..277
    packages/nucleus/src/data/roofs.ts on lines 280..285
    packages/nucleus/src/data/roofs.ts on lines 304..309
    packages/nucleus/src/data/roofs.ts on lines 435..440
    packages/nucleus/src/data/roofs.ts on lines 443..448
    packages/nucleus/src/data/roofs.ts on lines 449..454

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

    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

        {
            name: "Snow village roof",
            holiday: "The Holidays",
            fwcolors: [],
            animations: [{ element: "roof61anim", x: 0, y: 121, ftime: "0.25" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 5 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 265..270
    packages/nucleus/src/data/roofs.ts on lines 286..291
    packages/nucleus/src/data/roofs.ts on lines 298..303
    packages/nucleus/src/data/roofs.ts on lines 310..315
    packages/nucleus/src/data/roofs.ts on lines 339..344

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

    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

        {
            name: "Party yacht",
            holiday: "Summer",
            fwcolors: [],
            animations: [{ element: "roof46anim", x: 0, y: 71, ftime: "0.15" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 5 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 265..270
    packages/nucleus/src/data/roofs.ts on lines 298..303
    packages/nucleus/src/data/roofs.ts on lines 310..315
    packages/nucleus/src/data/roofs.ts on lines 339..344
    packages/nucleus/src/data/roofs.ts on lines 388..393

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

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "Easter Roof",
            hidden: true,
            fwcolors: [],
            animations: [{ element: "roof42anim", x: 0, y: 74, ftime: "0.15" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 6 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 280..285
    packages/nucleus/src/data/roofs.ts on lines 292..297
    packages/nucleus/src/data/roofs.ts on lines 304..309
    packages/nucleus/src/data/roofs.ts on lines 435..440
    packages/nucleus/src/data/roofs.ts on lines 443..448
    packages/nucleus/src/data/roofs.ts on lines 449..454

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

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "Leprechaun meadows roof",
            hidden: true,
            fwcolors: [],
            animations: [{ element: "frame_", x: 10, y: 82, ftime: "0.1" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 6 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 272..277
    packages/nucleus/src/data/roofs.ts on lines 280..285
    packages/nucleus/src/data/roofs.ts on lines 292..297
    packages/nucleus/src/data/roofs.ts on lines 304..309
    packages/nucleus/src/data/roofs.ts on lines 435..440
    packages/nucleus/src/data/roofs.ts on lines 449..454

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

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "Rabbit statue roof",
            hidden: true,
            fwcolors: [],
            animations: [{ element: "bunny_", x: 100, y: 110, ftime: "0.25" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 6 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 272..277
    packages/nucleus/src/data/roofs.ts on lines 280..285
    packages/nucleus/src/data/roofs.ts on lines 292..297
    packages/nucleus/src/data/roofs.ts on lines 304..309
    packages/nucleus/src/data/roofs.ts on lines 435..440
    packages/nucleus/src/data/roofs.ts on lines 443..448

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

    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

        {
            name: "christmas tree",
            holiday: "The Holidays",
            fwcolors: [],
            animations: [{ element: "reindeer", x: 0, y: 92, ftime: "0.15" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 5 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 265..270
    packages/nucleus/src/data/roofs.ts on lines 286..291
    packages/nucleus/src/data/roofs.ts on lines 298..303
    packages/nucleus/src/data/roofs.ts on lines 339..344
    packages/nucleus/src/data/roofs.ts on lines 388..393

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

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

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

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

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

    Refactorings

    Further Reading

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

        {
            name: "Moonlit Love Embrace",
            hidden: true,
            fwcolors: [],
            animations: [{ element: "hearts", x: 80, y: 100, ftime: "0.25" }],
    Severity: Major
    Found in packages/nucleus/src/data/roofs.ts and 6 other locations - About 35 mins to fix
    packages/nucleus/src/data/roofs.ts on lines 272..277
    packages/nucleus/src/data/roofs.ts on lines 280..285
    packages/nucleus/src/data/roofs.ts on lines 292..297
    packages/nucleus/src/data/roofs.ts on lines 304..309
    packages/nucleus/src/data/roofs.ts on lines 443..448
    packages/nucleus/src/data/roofs.ts on lines 449..454

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

    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