cerniglj1/osrs-quest-tool

View on GitHub

Showing 254 of 336 total issues

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

  'Roving Elves': {
    miniquest: false,
    shortName: 'rovingElves',
    name: 'Roving Elves',
    url: 'https://oldschool.runescape.wiki/w/Roving_Elves',
Severity: Major
Found in lib/resources/quest/questData.js and 1 other location - About 3 hrs to fix
lib/resources/quest/questData.js on lines 596..619

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

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

    "Contact!": {
        "miniquest": false,
        "name": "Contact!",
        "shortName": "contact",
        "url": "https://oldschool.runescape.wiki/w/Contact!",
Severity: Major
Found in src/resources/questData.js and 1 other location - About 3 hrs to fix
src/resources/questData.js on lines 3402..3426

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

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

  'Contact!': {
    miniquest: false,
    name: 'Contact!',
    shortName: 'contact',
    url: 'https://oldschool.runescape.wiki/w/Contact!',
Severity: Major
Found in lib/resources/quest/questData.js and 1 other location - About 3 hrs to fix
lib/resources/quest/questData.js on lines 3469..3492

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

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

    "Roving Elves": {
        "miniquest": false,
        "shortName": "rovingElves",
        "name": "Roving Elves",
        "url": "https://oldschool.runescape.wiki/w/Roving_Elves",
Severity: Major
Found in src/resources/questData.js and 1 other location - About 3 hrs to fix
src/resources/questData.js on lines 605..629

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

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

  'Misthalin Mystery': {
    miniquest: false,
    shortName: 'misthalinMystery',
    name: 'Misthalin Mystery',
    url: 'https://oldschool.runescape.wiki/w/Misthalin_Mystery',
Severity: Major
Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 620..643
lib/resources/quest/questData.js on lines 1078..1101
lib/resources/quest/questData.js on lines 1102..1125
lib/resources/quest/questData.js on lines 1670..1693
lib/resources/quest/questData.js on lines 1755..1778
lib/resources/quest/questData.js on lines 1779..1802
lib/resources/quest/questData.js on lines 2111..2134
lib/resources/quest/questData.js on lines 2611..2634
lib/resources/quest/questData.js on lines 3749..3772
lib/resources/quest/questData.js on lines 4934..4957
lib/resources/quest/questData.js on lines 5333..5356
lib/resources/quest/questData.js on lines 5493..5516
lib/resources/quest/questData.js on lines 5517..5540

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

    "Cook's Assistant": {
        "miniquest": false,
        "name": "Cook's Assistant",
        "shortName": "cooksAssistant",
        "url": "https://oldschool.runescape.wiki/w/Cook%27s_Assistant",
Severity: Major
Found in src/resources/questData.js and 13 other locations - About 3 hrs to fix
src/resources/questData.js on lines 1079..1100
src/resources/questData.js on lines 1101..1122
src/resources/questData.js on lines 1656..1677
src/resources/questData.js on lines 1739..1760
src/resources/questData.js on lines 1761..1782
src/resources/questData.js on lines 2079..2100
src/resources/questData.js on lines 2546..2567
src/resources/questData.js on lines 2568..2589
src/resources/questData.js on lines 3677..3698
src/resources/questData.js on lines 4823..4844
src/resources/questData.js on lines 5205..5226
src/resources/questData.js on lines 5359..5380
src/resources/questData.js on lines 5381..5402

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

    "Vampyre Slayer": {
        "miniquest": false,
        "shortName": "vampyreSlayer",
        "name": "Vampyre Slayer",
        "url": "https://oldschool.runescape.wiki/w/Vampyre_Slayer",
Severity: Major
Found in src/resources/questData.js and 13 other locations - About 3 hrs to fix
src/resources/questData.js on lines 630..651
src/resources/questData.js on lines 1079..1100
src/resources/questData.js on lines 1101..1122
src/resources/questData.js on lines 1656..1677
src/resources/questData.js on lines 1739..1760
src/resources/questData.js on lines 1761..1782
src/resources/questData.js on lines 2079..2100
src/resources/questData.js on lines 2546..2567
src/resources/questData.js on lines 2568..2589
src/resources/questData.js on lines 3677..3698
src/resources/questData.js on lines 4823..4844
src/resources/questData.js on lines 5359..5380
src/resources/questData.js on lines 5381..5402

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

  'Dwarf Cannon': {
    miniquest: false,
    name: 'Dwarf Cannon',
    shortName: 'dwarfCannon',
    url: 'https://oldschool.runescape.wiki/w/Dwarf_Cannon',
Severity: Major
Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 620..643
lib/resources/quest/questData.js on lines 1078..1101
lib/resources/quest/questData.js on lines 1670..1693
lib/resources/quest/questData.js on lines 1755..1778
lib/resources/quest/questData.js on lines 1779..1802
lib/resources/quest/questData.js on lines 2111..2134
lib/resources/quest/questData.js on lines 2587..2610
lib/resources/quest/questData.js on lines 2611..2634
lib/resources/quest/questData.js on lines 3749..3772
lib/resources/quest/questData.js on lines 4934..4957
lib/resources/quest/questData.js on lines 5333..5356
lib/resources/quest/questData.js on lines 5493..5516
lib/resources/quest/questData.js on lines 5517..5540

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

  'Sheep Shearer': {
    miniquest: false,
    shortName: 'sheepShearer',
    name: 'Sheep Shearer',
    url: 'https://oldschool.runescape.wiki/w/Sheep_Shearer',
Severity: Major
Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 620..643
lib/resources/quest/questData.js on lines 1078..1101
lib/resources/quest/questData.js on lines 1102..1125
lib/resources/quest/questData.js on lines 1670..1693
lib/resources/quest/questData.js on lines 1755..1778
lib/resources/quest/questData.js on lines 1779..1802
lib/resources/quest/questData.js on lines 2111..2134
lib/resources/quest/questData.js on lines 2587..2610
lib/resources/quest/questData.js on lines 2611..2634
lib/resources/quest/questData.js on lines 4934..4957
lib/resources/quest/questData.js on lines 5333..5356
lib/resources/quest/questData.js on lines 5493..5516
lib/resources/quest/questData.js on lines 5517..5540

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

    "Tree Gnome Village": {
        "miniquest": false,
        "shortName": "treeGnomeVillage",
        "name": "Tree Gnome Village",
        "url": "https://oldschool.runescape.wiki/w/Tree_Gnome_Village",
Severity: Major
Found in src/resources/questData.js and 7 other locations - About 3 hrs to fix
src/resources/questData.js on lines 390..411
src/resources/questData.js on lines 755..776
src/resources/questData.js on lines 1883..1904
src/resources/questData.js on lines 2791..2812
src/resources/questData.js on lines 3011..3032
src/resources/questData.js on lines 3033..3054
src/resources/questData.js on lines 3572..3593

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

  'Plague City': {
    miniquest: false,
    shortName: 'plagueCity',
    name: 'Plague City',
    url: 'https://oldschool.runescape.wiki/w/Plague_City',
Severity: Major
Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 747..770
lib/resources/quest/questData.js on lines 1908..1931
lib/resources/quest/questData.js on lines 2841..2864
lib/resources/quest/questData.js on lines 3090..3113
lib/resources/quest/questData.js on lines 3643..3666
lib/resources/quest/questData.js on lines 5192..5215

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

  "Gertrude's Cat": {
    miniquest: false,
    shortName: 'gertrudesCat',
    name: "Gertrude's Cat",
    url: 'https://oldschool.runescape.wiki/w/Gertrude%27s_Cat',
Severity: Major
Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 620..643
lib/resources/quest/questData.js on lines 1078..1101
lib/resources/quest/questData.js on lines 1102..1125
lib/resources/quest/questData.js on lines 1755..1778
lib/resources/quest/questData.js on lines 1779..1802
lib/resources/quest/questData.js on lines 2111..2134
lib/resources/quest/questData.js on lines 2587..2610
lib/resources/quest/questData.js on lines 2611..2634
lib/resources/quest/questData.js on lines 3749..3772
lib/resources/quest/questData.js on lines 4934..4957
lib/resources/quest/questData.js on lines 5333..5356
lib/resources/quest/questData.js on lines 5493..5516
lib/resources/quest/questData.js on lines 5517..5540

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

  'The Restless Ghost': {
    miniquest: false,
    shortName: 'theRestlessGhost',
    name: 'The Restless Ghost',
    url: 'https://oldschool.runescape.wiki/w/The_Restless_Ghost',
Severity: Major
Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 620..643
lib/resources/quest/questData.js on lines 1078..1101
lib/resources/quest/questData.js on lines 1102..1125
lib/resources/quest/questData.js on lines 1670..1693
lib/resources/quest/questData.js on lines 1755..1778
lib/resources/quest/questData.js on lines 1779..1802
lib/resources/quest/questData.js on lines 2111..2134
lib/resources/quest/questData.js on lines 2587..2610
lib/resources/quest/questData.js on lines 2611..2634
lib/resources/quest/questData.js on lines 3749..3772
lib/resources/quest/questData.js on lines 5333..5356
lib/resources/quest/questData.js on lines 5493..5516
lib/resources/quest/questData.js on lines 5517..5540

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

  "Witch's Potion": {
    miniquest: false,
    shortName: 'witchsPotion',
    name: "Witch's Potion",
    url: 'https://oldschool.runescape.wiki/w/Witch%27s_Potion',
Severity: Major
Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 620..643
lib/resources/quest/questData.js on lines 1078..1101
lib/resources/quest/questData.js on lines 1102..1125
lib/resources/quest/questData.js on lines 1670..1693
lib/resources/quest/questData.js on lines 1755..1778
lib/resources/quest/questData.js on lines 1779..1802
lib/resources/quest/questData.js on lines 2111..2134
lib/resources/quest/questData.js on lines 2587..2610
lib/resources/quest/questData.js on lines 2611..2634
lib/resources/quest/questData.js on lines 3749..3772
lib/resources/quest/questData.js on lines 4934..4957
lib/resources/quest/questData.js on lines 5333..5356
lib/resources/quest/questData.js on lines 5493..5516

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

  'Goblin Diplomacy': {
    miniquest: false,
    shortName: 'goblinDiplomacy',
    name: 'Goblin Diplomacy',
    url: 'https://oldschool.runescape.wiki/w/Goblin_Diplomacy',
Severity: Major
Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 620..643
lib/resources/quest/questData.js on lines 1078..1101
lib/resources/quest/questData.js on lines 1102..1125
lib/resources/quest/questData.js on lines 1670..1693
lib/resources/quest/questData.js on lines 1755..1778
lib/resources/quest/questData.js on lines 2111..2134
lib/resources/quest/questData.js on lines 2587..2610
lib/resources/quest/questData.js on lines 2611..2634
lib/resources/quest/questData.js on lines 3749..3772
lib/resources/quest/questData.js on lines 4934..4957
lib/resources/quest/questData.js on lines 5333..5356
lib/resources/quest/questData.js on lines 5493..5516
lib/resources/quest/questData.js on lines 5517..5540

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

    "Priest in Peril": {
        "miniquest": false,
        "shortName": "priestInPeril",
        "name": "Priest in Peril",
        "url": "https://oldschool.runescape.wiki/w/Priest_in_Peril",
Severity: Major
Found in src/resources/questData.js and 7 other locations - About 3 hrs to fix
src/resources/questData.js on lines 390..411
src/resources/questData.js on lines 755..776
src/resources/questData.js on lines 1883..1904
src/resources/questData.js on lines 2791..2812
src/resources/questData.js on lines 3011..3032
src/resources/questData.js on lines 3572..3593
src/resources/questData.js on lines 5072..5093

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

    "Dwarf Cannon": {
        "miniquest": false,
        "name": "Dwarf Cannon",
        "shortName": "dwarfCannon",
        "url": "https://oldschool.runescape.wiki/w/Dwarf_Cannon",
Severity: Major
Found in src/resources/questData.js and 13 other locations - About 3 hrs to fix
src/resources/questData.js on lines 630..651
src/resources/questData.js on lines 1079..1100
src/resources/questData.js on lines 1656..1677
src/resources/questData.js on lines 1739..1760
src/resources/questData.js on lines 1761..1782
src/resources/questData.js on lines 2079..2100
src/resources/questData.js on lines 2546..2567
src/resources/questData.js on lines 2568..2589
src/resources/questData.js on lines 3677..3698
src/resources/questData.js on lines 4823..4844
src/resources/questData.js on lines 5205..5226
src/resources/questData.js on lines 5359..5380
src/resources/questData.js on lines 5381..5402

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

  'Sea Slug': {
    miniquest: false,
    shortName: 'seaSlug',
    name: 'Sea Slug',
    url: 'https://oldschool.runescape.wiki/w/Sea_Slug',
Severity: Major
Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
lib/resources/quest/questData.js on lines 747..770
lib/resources/quest/questData.js on lines 1908..1931
lib/resources/quest/questData.js on lines 2841..2864
lib/resources/quest/questData.js on lines 3066..3089
lib/resources/quest/questData.js on lines 3090..3113
lib/resources/quest/questData.js on lines 5192..5215

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

    "Gertrude's Cat": {
        "miniquest": false,
        "shortName": "gertrudesCat",
        "name": "Gertrude's Cat",
        "url": "https://oldschool.runescape.wiki/w/Gertrude%27s_Cat",
Severity: Major
Found in src/resources/questData.js and 13 other locations - About 3 hrs to fix
src/resources/questData.js on lines 630..651
src/resources/questData.js on lines 1079..1100
src/resources/questData.js on lines 1101..1122
src/resources/questData.js on lines 1739..1760
src/resources/questData.js on lines 1761..1782
src/resources/questData.js on lines 2079..2100
src/resources/questData.js on lines 2546..2567
src/resources/questData.js on lines 2568..2589
src/resources/questData.js on lines 3677..3698
src/resources/questData.js on lines 4823..4844
src/resources/questData.js on lines 5205..5226
src/resources/questData.js on lines 5359..5380
src/resources/questData.js on lines 5381..5402

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

    "Witch's Potion": {
        "miniquest": false,
        "shortName": "witchsPotion",
        "name": "Witch's Potion",
        "url": "https://oldschool.runescape.wiki/w/Witch%27s_Potion",
Severity: Major
Found in src/resources/questData.js and 13 other locations - About 3 hrs to fix
src/resources/questData.js on lines 630..651
src/resources/questData.js on lines 1079..1100
src/resources/questData.js on lines 1101..1122
src/resources/questData.js on lines 1656..1677
src/resources/questData.js on lines 1739..1760
src/resources/questData.js on lines 1761..1782
src/resources/questData.js on lines 2079..2100
src/resources/questData.js on lines 2546..2567
src/resources/questData.js on lines 2568..2589
src/resources/questData.js on lines 3677..3698
src/resources/questData.js on lines 4823..4844
src/resources/questData.js on lines 5205..5226
src/resources/questData.js on lines 5359..5380

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

Severity
Category
Status
Source
Language