myems-web/src/helpers/googleMapStyles.js

Summary

Maintainability
D
2 days
Test Coverage

File googleMapStyles.js has 517 lines of code (exceeds 250 allowed). Consider refactoring.
Open

export default {
  Default: [
    {
      featureType: 'water',
      elementType: 'geometry',
Severity: Major
Found in myems-web/src/helpers/googleMapStyles.js - About 1 day to fix

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

        {
          featureType: 'road',
          elementType: 'geometry',
          stylers: [{ hue: '#8d9b83' }, { saturation: -89 }, { lightness: -12 }, { visibility: 'on' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 5 other locations - About 45 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 196..200
    myems-web/src/helpers/googleMapStyles.js on lines 201..205
    myems-web/src/helpers/googleMapStyles.js on lines 216..220
    myems-web/src/helpers/googleMapStyles.js on lines 221..225
    myems-web/src/helpers/googleMapStyles.js on lines 231..235

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        {
          featureType: 'road.arterial',
          elementType: 'geometry',
          stylers: [{ hue: '#bdc5b6' }, { saturation: -89 }, { lightness: -3 }, { visibility: 'simplified' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 5 other locations - About 45 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 196..200
    myems-web/src/helpers/googleMapStyles.js on lines 201..205
    myems-web/src/helpers/googleMapStyles.js on lines 206..210
    myems-web/src/helpers/googleMapStyles.js on lines 221..225
    myems-web/src/helpers/googleMapStyles.js on lines 231..235

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        {
          featureType: 'landscape',
          elementType: 'geometry',
          stylers: [{ hue: '#b7caaa' }, { saturation: -14 }, { lightness: -18 }, { visibility: 'on' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 5 other locations - About 45 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 201..205
    myems-web/src/helpers/googleMapStyles.js on lines 206..210
    myems-web/src/helpers/googleMapStyles.js on lines 216..220
    myems-web/src/helpers/googleMapStyles.js on lines 221..225
    myems-web/src/helpers/googleMapStyles.js on lines 231..235

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        {
          featureType: 'landscape.man_made',
          elementType: 'all',
          stylers: [{ hue: '#cbdac1' }, { saturation: -6 }, { lightness: -9 }, { visibility: 'on' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 5 other locations - About 45 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 196..200
    myems-web/src/helpers/googleMapStyles.js on lines 206..210
    myems-web/src/helpers/googleMapStyles.js on lines 216..220
    myems-web/src/helpers/googleMapStyles.js on lines 221..225
    myems-web/src/helpers/googleMapStyles.js on lines 231..235

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        {
          featureType: 'poi.park',
          elementType: 'all',
          stylers: [{ hue: '#8ba975' }, { saturation: -46 }, { lightness: -28 }, { visibility: 'on' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 5 other locations - About 45 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 196..200
    myems-web/src/helpers/googleMapStyles.js on lines 201..205
    myems-web/src/helpers/googleMapStyles.js on lines 206..210
    myems-web/src/helpers/googleMapStyles.js on lines 216..220
    myems-web/src/helpers/googleMapStyles.js on lines 221..225

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        {
          featureType: 'road.local',
          elementType: 'geometry',
          stylers: [{ hue: '#bdc5b6' }, { saturation: -89 }, { lightness: -26 }, { visibility: 'on' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 5 other locations - About 45 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 196..200
    myems-web/src/helpers/googleMapStyles.js on lines 201..205
    myems-web/src/helpers/googleMapStyles.js on lines 206..210
    myems-web/src/helpers/googleMapStyles.js on lines 216..220
    myems-web/src/helpers/googleMapStyles.js on lines 231..235

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        {
          featureType: 'water',
          elementType: 'geometry',
          stylers: [{ hue: '#165c64' }, { saturation: 34 }, { lightness: -69 }, { visibility: 'on' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 4 other locations - About 40 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 226..230
    myems-web/src/helpers/googleMapStyles.js on lines 236..240
    myems-web/src/helpers/googleMapStyles.js on lines 261..265
    myems-web/src/helpers/googleMapStyles.js on lines 266..270

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

        {
          featureType: 'poi',
          elementType: 'geometry',
          stylers: [{ hue: '#c17118' }, { saturation: 61 }, { lightness: -45 }, { visibility: 'on' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 4 other locations - About 40 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 191..195
    myems-web/src/helpers/googleMapStyles.js on lines 236..240
    myems-web/src/helpers/googleMapStyles.js on lines 261..265
    myems-web/src/helpers/googleMapStyles.js on lines 266..270

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

        {
          featureType: 'poi.medical',
          elementType: 'geometry',
          stylers: [{ hue: '#cba923' }, { saturation: 50 }, { lightness: -46 }, { visibility: 'on' }]
        }
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 4 other locations - About 40 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 191..195
    myems-web/src/helpers/googleMapStyles.js on lines 226..230
    myems-web/src/helpers/googleMapStyles.js on lines 236..240
    myems-web/src/helpers/googleMapStyles.js on lines 261..265

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

        {
          featureType: 'administrative',
          elementType: 'all',
          stylers: [{ hue: '#3a3935' }, { saturation: 5 }, { lightness: -57 }, { visibility: 'off' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 4 other locations - About 40 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 191..195
    myems-web/src/helpers/googleMapStyles.js on lines 226..230
    myems-web/src/helpers/googleMapStyles.js on lines 236..240
    myems-web/src/helpers/googleMapStyles.js on lines 266..270

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

        {
          featureType: 'transit',
          elementType: 'geometry',
          stylers: [{ hue: '#a43218' }, { saturation: 74 }, { lightness: -51 }, { visibility: 'simplified' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 4 other locations - About 40 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 191..195
    myems-web/src/helpers/googleMapStyles.js on lines 226..230
    myems-web/src/helpers/googleMapStyles.js on lines 261..265
    myems-web/src/helpers/googleMapStyles.js on lines 266..270

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

        {
          featureType: 'administrative.province',
          elementType: 'all',
          stylers: [{ hue: '#ffffff' }, { saturation: 0 }, { lightness: 100 }, { visibility: 'simplified' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 3 other locations - About 35 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 246..250
    myems-web/src/helpers/googleMapStyles.js on lines 251..255
    myems-web/src/helpers/googleMapStyles.js on lines 256..260

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

        {
          featureType: 'administrative.neighborhood',
          elementType: 'all',
          stylers: [{ hue: '#ffffff' }, { saturation: 0 }, { lightness: 100 }, { visibility: 'off' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 3 other locations - About 35 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 241..245
    myems-web/src/helpers/googleMapStyles.js on lines 251..255
    myems-web/src/helpers/googleMapStyles.js on lines 256..260

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

        {
          featureType: 'administrative.land_parcel',
          elementType: 'all',
          stylers: [{ hue: '#ffffff' }, { saturation: 0 }, { lightness: 100 }, { visibility: 'off' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 3 other locations - About 35 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 241..245
    myems-web/src/helpers/googleMapStyles.js on lines 246..250
    myems-web/src/helpers/googleMapStyles.js on lines 251..255

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

        {
          featureType: 'administrative.locality',
          elementType: 'labels',
          stylers: [{ hue: '#ffffff' }, { saturation: 0 }, { lightness: 100 }, { visibility: 'off' }]
        },
    Severity: Major
    Found in myems-web/src/helpers/googleMapStyles.js and 3 other locations - About 35 mins to fix
    myems-web/src/helpers/googleMapStyles.js on lines 241..245
    myems-web/src/helpers/googleMapStyles.js on lines 246..250
    myems-web/src/helpers/googleMapStyles.js on lines 256..260

    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