hellowin/kanca

View on GitHub
flow-typed/npm/lodash_v4.x.x.js

Summary

Maintainability
F
2 wks
Test Coverage

File lodash_v4.x.x.js has 456 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// flow-typed signature: 53b581d81115b53eaf3a74ae963c4f43
// flow-typed version: ba3c3d2dca/lodash_v4.x.x/flow_>=v0.38.x <=v0.46.x

declare module 'lodash' {
  declare type TemplateSettings = {
Severity: Minor
Found in flow-typed/npm/lodash_v4.x.x.js - About 6 hrs to fix

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

        assignWith<T: Object, A: Object, B: Object, C: Object, D: Object>(object: T, s1: A, s2: B, s3: C, s4: D, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C|D) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 4 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 354..354
    flow-typed/npm/lodash_v4.x.x.js on lines 377..377
    flow-typed/npm/lodash_v4.x.x.js on lines 400..400

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

    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

        extendWith<T: Object, A: Object, B: Object, C: Object, D: Object>(object: T, s1: A, s2: B, s3: C, s4: D, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C|D) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 4 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 354..354
    flow-typed/npm/lodash_v4.x.x.js on lines 358..358
    flow-typed/npm/lodash_v4.x.x.js on lines 400..400

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

    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

        mergeWith<T: Object, A: Object, B: Object, C: Object, D: Object>(object: T, s1: A, s2: B, s3: C, s4: D, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C|D) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 4 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 354..354
    flow-typed/npm/lodash_v4.x.x.js on lines 358..358
    flow-typed/npm/lodash_v4.x.x.js on lines 377..377

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

    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

        assignInWith<T: Object, A: Object, B: Object, C: Object, D: Object>(object: T, s1: A, s2: B, s3: C, s4: D, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C|D) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 4 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 358..358
    flow-typed/npm/lodash_v4.x.x.js on lines 377..377
    flow-typed/npm/lodash_v4.x.x.js on lines 400..400

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

    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

        extendWith<T: Object, A: Object, B: Object, C: Object>(object: T, s1: A, s2: B, s3: C, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 4 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 353..353
    flow-typed/npm/lodash_v4.x.x.js on lines 357..357
    flow-typed/npm/lodash_v4.x.x.js on lines 399..399

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

    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

        mergeWith<T: Object, A: Object, B: Object, C: Object>(object: T, s1: A, s2: B, s3: C, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 4 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 353..353
    flow-typed/npm/lodash_v4.x.x.js on lines 357..357
    flow-typed/npm/lodash_v4.x.x.js on lines 376..376

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

    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

        assignInWith<T: Object, A: Object, B: Object, C: Object>(object: T, s1: A, s2: B, s3: C, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 4 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 357..357
    flow-typed/npm/lodash_v4.x.x.js on lines 376..376
    flow-typed/npm/lodash_v4.x.x.js on lines 399..399

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

    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

        assignWith<T: Object, A: Object, B: Object, C: Object>(object: T, s1: A, s2: B, s3: C, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B|C) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 4 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 353..353
    flow-typed/npm/lodash_v4.x.x.js on lines 376..376
    flow-typed/npm/lodash_v4.x.x.js on lines 399..399

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

    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

        assignInWith<T: Object, A: Object, B: Object>(object: T, s1: A, s2: B, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 3 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 356..356
    flow-typed/npm/lodash_v4.x.x.js on lines 375..375
    flow-typed/npm/lodash_v4.x.x.js on lines 398..398

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

    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

        extendWith<T: Object, A: Object, B: Object>(object: T, s1: A, s2: B, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 3 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 352..352
    flow-typed/npm/lodash_v4.x.x.js on lines 356..356
    flow-typed/npm/lodash_v4.x.x.js on lines 398..398

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

    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

        assignWith<T: Object, A: Object, B: Object>(object: T, s1: A, s2: B, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 3 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 352..352
    flow-typed/npm/lodash_v4.x.x.js on lines 375..375
    flow-typed/npm/lodash_v4.x.x.js on lines 398..398

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

    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

        mergeWith<T: Object, A: Object, B: Object>(object: T, s1: A, s2: B, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A|B) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 3 other locations - About 3 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 352..352
    flow-typed/npm/lodash_v4.x.x.js on lines 356..356
    flow-typed/npm/lodash_v4.x.x.js on lines 375..375

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

    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

        zipWith<T>(a1: NestedArray<T>, a2: NestedArray<T>, a3: NestedArray<T>, a4: NestedArray<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 96..96
    flow-typed/npm/lodash_v4.x.x.js on lines 101..101
    flow-typed/npm/lodash_v4.x.x.js on lines 133..133
    flow-typed/npm/lodash_v4.x.x.js on lines 138..138
    flow-typed/npm/lodash_v4.x.x.js on lines 150..150
    flow-typed/npm/lodash_v4.x.x.js on lines 155..155

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

    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

        unionBy<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, a4: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 96..96
    flow-typed/npm/lodash_v4.x.x.js on lines 101..101
    flow-typed/npm/lodash_v4.x.x.js on lines 138..138
    flow-typed/npm/lodash_v4.x.x.js on lines 150..150
    flow-typed/npm/lodash_v4.x.x.js on lines 155..155
    flow-typed/npm/lodash_v4.x.x.js on lines 167..167

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

    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

        unionWith<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, a4: Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 96..96
    flow-typed/npm/lodash_v4.x.x.js on lines 101..101
    flow-typed/npm/lodash_v4.x.x.js on lines 133..133
    flow-typed/npm/lodash_v4.x.x.js on lines 150..150
    flow-typed/npm/lodash_v4.x.x.js on lines 155..155
    flow-typed/npm/lodash_v4.x.x.js on lines 167..167

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

    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

        xorBy<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, a4: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 96..96
    flow-typed/npm/lodash_v4.x.x.js on lines 101..101
    flow-typed/npm/lodash_v4.x.x.js on lines 133..133
    flow-typed/npm/lodash_v4.x.x.js on lines 138..138
    flow-typed/npm/lodash_v4.x.x.js on lines 155..155
    flow-typed/npm/lodash_v4.x.x.js on lines 167..167

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

    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

        xorWith<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, a4: Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 96..96
    flow-typed/npm/lodash_v4.x.x.js on lines 101..101
    flow-typed/npm/lodash_v4.x.x.js on lines 133..133
    flow-typed/npm/lodash_v4.x.x.js on lines 138..138
    flow-typed/npm/lodash_v4.x.x.js on lines 150..150
    flow-typed/npm/lodash_v4.x.x.js on lines 167..167

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

    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

        intersectionBy<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, a4: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 101..101
    flow-typed/npm/lodash_v4.x.x.js on lines 133..133
    flow-typed/npm/lodash_v4.x.x.js on lines 138..138
    flow-typed/npm/lodash_v4.x.x.js on lines 150..150
    flow-typed/npm/lodash_v4.x.x.js on lines 155..155
    flow-typed/npm/lodash_v4.x.x.js on lines 167..167

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

    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

        intersectionWith<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, a4: Array<T>, comparator: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 96..96
    flow-typed/npm/lodash_v4.x.x.js on lines 133..133
    flow-typed/npm/lodash_v4.x.x.js on lines 138..138
    flow-typed/npm/lodash_v4.x.x.js on lines 150..150
    flow-typed/npm/lodash_v4.x.x.js on lines 155..155
    flow-typed/npm/lodash_v4.x.x.js on lines 167..167

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

    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

        assignWith<T: Object, A: Object>(object: T, s1: A, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 351..351

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

    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

        reduce<T, U>(array: ?Array<T>, iteratee?: (accumulator: U, value: T, index: number, array: ?Array<T>) => U, accumulator?: U): U;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 214..214

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

    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

        reduceRight<T, U>(array: ?Array<T>, iteratee?: (accumulator: U, value: T, index: number, array: ?Array<T>) => U, accumulator?: U): U;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 212..212

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

    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

        assignInWith<T: Object, A: Object>(object: T, s1: A, customizer?: (objValue: any, srcValue: any, key: string, object: T, source: A) => any|void): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 2 hrs to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 355..355

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

    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

        intersectionBy<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 100..100
    flow-typed/npm/lodash_v4.x.x.js on lines 132..132
    flow-typed/npm/lodash_v4.x.x.js on lines 137..137
    flow-typed/npm/lodash_v4.x.x.js on lines 149..149
    flow-typed/npm/lodash_v4.x.x.js on lines 154..154
    flow-typed/npm/lodash_v4.x.x.js on lines 166..166

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

        intersectionWith<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, comparator: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 95..95
    flow-typed/npm/lodash_v4.x.x.js on lines 132..132
    flow-typed/npm/lodash_v4.x.x.js on lines 137..137
    flow-typed/npm/lodash_v4.x.x.js on lines 149..149
    flow-typed/npm/lodash_v4.x.x.js on lines 154..154
    flow-typed/npm/lodash_v4.x.x.js on lines 166..166

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

        unionBy<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 95..95
    flow-typed/npm/lodash_v4.x.x.js on lines 100..100
    flow-typed/npm/lodash_v4.x.x.js on lines 137..137
    flow-typed/npm/lodash_v4.x.x.js on lines 149..149
    flow-typed/npm/lodash_v4.x.x.js on lines 154..154
    flow-typed/npm/lodash_v4.x.x.js on lines 166..166

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

        zipWith<T>(a1: NestedArray<T>, a2: NestedArray<T>, a3: NestedArray<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 95..95
    flow-typed/npm/lodash_v4.x.x.js on lines 100..100
    flow-typed/npm/lodash_v4.x.x.js on lines 132..132
    flow-typed/npm/lodash_v4.x.x.js on lines 137..137
    flow-typed/npm/lodash_v4.x.x.js on lines 149..149
    flow-typed/npm/lodash_v4.x.x.js on lines 154..154

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

        unionWith<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 95..95
    flow-typed/npm/lodash_v4.x.x.js on lines 100..100
    flow-typed/npm/lodash_v4.x.x.js on lines 132..132
    flow-typed/npm/lodash_v4.x.x.js on lines 149..149
    flow-typed/npm/lodash_v4.x.x.js on lines 154..154
    flow-typed/npm/lodash_v4.x.x.js on lines 166..166

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

        xorBy<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 95..95
    flow-typed/npm/lodash_v4.x.x.js on lines 100..100
    flow-typed/npm/lodash_v4.x.x.js on lines 132..132
    flow-typed/npm/lodash_v4.x.x.js on lines 137..137
    flow-typed/npm/lodash_v4.x.x.js on lines 154..154
    flow-typed/npm/lodash_v4.x.x.js on lines 166..166

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

        xorWith<T>(a1: Array<T>, a2: Array<T>, a3: Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 95..95
    flow-typed/npm/lodash_v4.x.x.js on lines 100..100
    flow-typed/npm/lodash_v4.x.x.js on lines 132..132
    flow-typed/npm/lodash_v4.x.x.js on lines 137..137
    flow-typed/npm/lodash_v4.x.x.js on lines 149..149
    flow-typed/npm/lodash_v4.x.x.js on lines 166..166

    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

        reduce<T: Object, U>(object: T, iteratee?: (accumulator: U, value: any, key: string, object: T) => U, accumulator?: U): U;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 215..215

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

    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

        reduceRight<T: Object, U>(object: T, iteratee?: (accumulator: U, value: any, key: string, object: T) => U, accumulator?: U): U;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 213..213

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

    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

        assignIn<A, B, C, D, E>(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 372..372

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

    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

        extend<A, B, C, D, E>(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 350..350

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

    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

        cloneDeepWith<T, U>(value: T, customizer?: ?(value: T, key: number|string, object: T, stack: any) => U): U;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 268..268

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

    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

        cloneWith<T, U>(value: T, customizer?: ?(value: T, key: number|string, object: T, stack: any) => U): U;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 267..267

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

    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

        xorWith<T>(a1: Array<T>, a2: Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 94..94
    flow-typed/npm/lodash_v4.x.x.js on lines 99..99
    flow-typed/npm/lodash_v4.x.x.js on lines 131..131
    flow-typed/npm/lodash_v4.x.x.js on lines 136..136
    flow-typed/npm/lodash_v4.x.x.js on lines 148..148
    flow-typed/npm/lodash_v4.x.x.js on lines 165..165

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

    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

        unionWith<T>(a1: Array<T>, a2: Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 94..94
    flow-typed/npm/lodash_v4.x.x.js on lines 99..99
    flow-typed/npm/lodash_v4.x.x.js on lines 131..131
    flow-typed/npm/lodash_v4.x.x.js on lines 148..148
    flow-typed/npm/lodash_v4.x.x.js on lines 153..153
    flow-typed/npm/lodash_v4.x.x.js on lines 165..165

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

    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

        unionBy<T>(a1: Array<T>, a2: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 94..94
    flow-typed/npm/lodash_v4.x.x.js on lines 99..99
    flow-typed/npm/lodash_v4.x.x.js on lines 136..136
    flow-typed/npm/lodash_v4.x.x.js on lines 148..148
    flow-typed/npm/lodash_v4.x.x.js on lines 153..153
    flow-typed/npm/lodash_v4.x.x.js on lines 165..165

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

    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

        zipWith<T>(a1: NestedArray<T>, a2: NestedArray<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 94..94
    flow-typed/npm/lodash_v4.x.x.js on lines 99..99
    flow-typed/npm/lodash_v4.x.x.js on lines 131..131
    flow-typed/npm/lodash_v4.x.x.js on lines 136..136
    flow-typed/npm/lodash_v4.x.x.js on lines 148..148
    flow-typed/npm/lodash_v4.x.x.js on lines 153..153

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

    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

        intersectionBy<T>(a1: Array<T>, a2: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 99..99
    flow-typed/npm/lodash_v4.x.x.js on lines 131..131
    flow-typed/npm/lodash_v4.x.x.js on lines 136..136
    flow-typed/npm/lodash_v4.x.x.js on lines 148..148
    flow-typed/npm/lodash_v4.x.x.js on lines 153..153
    flow-typed/npm/lodash_v4.x.x.js on lines 165..165

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

    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

        xorBy<T>(a1: Array<T>, a2: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 94..94
    flow-typed/npm/lodash_v4.x.x.js on lines 99..99
    flow-typed/npm/lodash_v4.x.x.js on lines 131..131
    flow-typed/npm/lodash_v4.x.x.js on lines 136..136
    flow-typed/npm/lodash_v4.x.x.js on lines 153..153
    flow-typed/npm/lodash_v4.x.x.js on lines 165..165

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

    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

        intersectionWith<T>(a1: Array<T>, a2: Array<T>, comparator: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 94..94
    flow-typed/npm/lodash_v4.x.x.js on lines 131..131
    flow-typed/npm/lodash_v4.x.x.js on lines 136..136
    flow-typed/npm/lodash_v4.x.x.js on lines 148..148
    flow-typed/npm/lodash_v4.x.x.js on lines 153..153
    flow-typed/npm/lodash_v4.x.x.js on lines 165..165

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

    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

        findKey<A, T: {[id: string]: A}>(object?: ?T, predicate?: OPredicate<A, T>): string|void;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 379..379

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

    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

        findLastKey<A, T: {[id: string]: A}>(object?: ?T, predicate?: OPredicate<A, T>): string|void;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 378..378

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

    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

        omitBy<A, T: {[id: string]: A}>(object?: ?T, predicate?: OPredicate<A, T>): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 406..406

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

    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

        pickBy<A, T: {[id: string]: A}>(object?: ?T, predicate?: OPredicate<A, T>): Object;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 403..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 57.

    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

        extend<A, B, C, D>(a: A, b: B, c: C, d: D): A & B & C & D;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 349..349

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 56.

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

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

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

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

    Refactorings

    Further Reading

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

        findLast<V, A, T: {[id: string]: A}>(object: T, predicate?: OPredicate<A, T>): V;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 183..183

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 56.

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

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

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

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

    Refactorings

    Further Reading

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

        assignIn<A, B, C, D>(a: A, b: B, c: C, d: D): A & B & C & D;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 371..371

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 56.

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

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

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

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

    Refactorings

    Further Reading

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

        find<V, A, T: {[id: string]: A}>(object: T, predicate?: OPredicate<A, T>): V;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 1 hr to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 185..185

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 56.

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

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

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

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

    Refactorings

    Further Reading

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

        flatMapDeep<T, U>(array: ?Array<T>, iteratee?: FlatMapIteratee<T, U>): Array<U>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 2 other locations - About 50 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 186..186
    flow-typed/npm/lodash_v4.x.x.js on lines 205..205

    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

        map<T, U>(array: ?Array<T>, iteratee?: MapIterator<T, U>): Array<U>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 2 other locations - About 50 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 186..186
    flow-typed/npm/lodash_v4.x.x.js on lines 188..188

    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

        flatMap<T, U>(array: ?Array<T>, iteratee?: FlatMapIteratee<T, U>): Array<U>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 2 other locations - About 50 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 188..188
    flow-typed/npm/lodash_v4.x.x.js on lines 205..205

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

        flatMap<T: Object, U>(object: T, iteratee?: OFlatMapIteratee<T, U>): Array<U>;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 45 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 189..189

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        flatMapDeep<T: Object, U>(object: T, iteratee?: OFlatMapIteratee<T, U>): Array<U>;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 45 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 187..187

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        each<T>(array: ?Array<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 45 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 176..176

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        eachRight<T>(array: ?Array<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 45 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 173..173

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

        pull<T>(array: ?Array<T>, ...values?: Array<T>): Array<T>;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 144..144

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 49.

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

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

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

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

    Refactorings

    Further Reading

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

        without<T>(array: ?Array<T>, ...values?: Array<T>): Array<T>;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 106..106

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 49.

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

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

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

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

    Refactorings

    Further Reading

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

        uniqBy<T>(array: ?Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        takeWhile<T>(array: ?Array<T>, predicate?: Predicate<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        intersectionWith<T>(a1: Array<T>, comparator: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 93..93
    flow-typed/npm/lodash_v4.x.x.js on lines 130..130
    flow-typed/npm/lodash_v4.x.x.js on lines 135..135
    flow-typed/npm/lodash_v4.x.x.js on lines 147..147
    flow-typed/npm/lodash_v4.x.x.js on lines 152..152
    flow-typed/npm/lodash_v4.x.x.js on lines 164..164

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

        zipWith<T>(a1: NestedArray<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 93..93
    flow-typed/npm/lodash_v4.x.x.js on lines 98..98
    flow-typed/npm/lodash_v4.x.x.js on lines 130..130
    flow-typed/npm/lodash_v4.x.x.js on lines 135..135
    flow-typed/npm/lodash_v4.x.x.js on lines 147..147
    flow-typed/npm/lodash_v4.x.x.js on lines 152..152

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

        unionWith<T>(a1: Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 93..93
    flow-typed/npm/lodash_v4.x.x.js on lines 98..98
    flow-typed/npm/lodash_v4.x.x.js on lines 130..130
    flow-typed/npm/lodash_v4.x.x.js on lines 147..147
    flow-typed/npm/lodash_v4.x.x.js on lines 152..152
    flow-typed/npm/lodash_v4.x.x.js on lines 164..164

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

        forEach<T>(array: ?Array<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        partition<T>(array: ?Array<T>, predicate?: Predicate<T>): NestedArray<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        xorBy<T>(a1: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 93..93
    flow-typed/npm/lodash_v4.x.x.js on lines 98..98
    flow-typed/npm/lodash_v4.x.x.js on lines 130..130
    flow-typed/npm/lodash_v4.x.x.js on lines 135..135
    flow-typed/npm/lodash_v4.x.x.js on lines 152..152
    flow-typed/npm/lodash_v4.x.x.js on lines 164..164

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

        forEachRight<T>(array: ?Array<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        dropRightWhile<T>(array: ?Array<T>, predicate?: Predicate<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        dropWhile<T>(array: ?Array<T>, predicate?: Predicate<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        intersectionBy<T>(a1: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 98..98
    flow-typed/npm/lodash_v4.x.x.js on lines 130..130
    flow-typed/npm/lodash_v4.x.x.js on lines 135..135
    flow-typed/npm/lodash_v4.x.x.js on lines 147..147
    flow-typed/npm/lodash_v4.x.x.js on lines 152..152
    flow-typed/npm/lodash_v4.x.x.js on lines 164..164

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

        pullAll<T>(array: ?Array<T>, values: Array<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        reject<T>(array: ?Array<T>, predicate?: Predicate<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210

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

        uniqWith<T>(array: ?Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        filter<T>(array: ?Array<T>, predicate?: Predicate<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        unionBy<T>(a1: Array<T>, iteratee?: ValueOnlyIteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 93..93
    flow-typed/npm/lodash_v4.x.x.js on lines 98..98
    flow-typed/npm/lodash_v4.x.x.js on lines 135..135
    flow-typed/npm/lodash_v4.x.x.js on lines 147..147
    flow-typed/npm/lodash_v4.x.x.js on lines 152..152
    flow-typed/npm/lodash_v4.x.x.js on lines 164..164

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

        difference<T>(array: ?Array<T>, values?: Array<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        remove<T>(array: ?Array<T>, predicate?: Predicate<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        takeRightWhile<T>(array: ?Array<T>, predicate?: Predicate<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 143..143
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        unzipWith<T>(array: ?Array<T>, iteratee?: Iteratee<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 14 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 72..72
    flow-typed/npm/lodash_v4.x.x.js on lines 77..77
    flow-typed/npm/lodash_v4.x.x.js on lines 78..78
    flow-typed/npm/lodash_v4.x.x.js on lines 107..107
    flow-typed/npm/lodash_v4.x.x.js on lines 112..112
    flow-typed/npm/lodash_v4.x.x.js on lines 126..126
    flow-typed/npm/lodash_v4.x.x.js on lines 127..127
    flow-typed/npm/lodash_v4.x.x.js on lines 140..140
    flow-typed/npm/lodash_v4.x.x.js on lines 141..141
    flow-typed/npm/lodash_v4.x.x.js on lines 180..180
    flow-typed/npm/lodash_v4.x.x.js on lines 192..192
    flow-typed/npm/lodash_v4.x.x.js on lines 194..194
    flow-typed/npm/lodash_v4.x.x.js on lines 210..210
    flow-typed/npm/lodash_v4.x.x.js on lines 216..216

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

        xorWith<T>(a1: Array<T>, comparator?: Comparator<T>): Array<T>;
    Severity: Major
    Found in flow-typed/npm/lodash_v4.x.x.js and 6 other locations - About 40 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 93..93
    flow-typed/npm/lodash_v4.x.x.js on lines 98..98
    flow-typed/npm/lodash_v4.x.x.js on lines 130..130
    flow-typed/npm/lodash_v4.x.x.js on lines 135..135
    flow-typed/npm/lodash_v4.x.x.js on lines 147..147
    flow-typed/npm/lodash_v4.x.x.js on lines 164..164

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 48.

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

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

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

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

    Refactorings

    Further Reading

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

        sortedIndexBy<T>(array: ?Array<T>, value: T, iteratee?: ValueOnlyIteratee<T>): number;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 35 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 119..119

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 47.

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

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

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

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

    Refactorings

    Further Reading

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

        sortedLastIndexBy<T>(array: ?Array<T>, value: T, iteratee?: ValueOnlyIteratee<T>): number;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 35 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 116..116

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 47.

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

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

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

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

    Refactorings

    Further Reading

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

        assignIn<A, B, C>(a: A, b: B, c: C): A & B & C;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 30 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 370..370

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

    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

        find<T>(array: ?Array<T>, predicate?: Predicate<T>): T|void;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 30 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 184..184

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

    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

        findLast<T>(array: ?Array<T>, predicate?: Predicate<T>): T|void;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 30 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 182..182

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

    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

        extend<A, B, C>(a: A, b: B, c: C): A & B & C;
    Severity: Minor
    Found in flow-typed/npm/lodash_v4.x.x.js and 1 other location - About 30 mins to fix
    flow-typed/npm/lodash_v4.x.x.js on lines 348..348

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

    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