viddo/atom-textual-velocity

View on GitHub

Showing 211 of 211 total issues

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

// flow-typed signature: 15a62627db10532a0d66de672b6a63b0
// flow-typed version: 17360d7665/rxjs_v6.x.x/flow_>=v0.34.x

type rxjs$PartialObserver<-T> =
  | {
Severity: Major
Found in flow-typed/npm/rxjs_v6.x.x.js - About 4 days to fix

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

    // flow-typed signature: 2a02d1b60a5d489a02c844ca21f2c722
    // flow-typed version: fba7eedc0c/reselect_v4.x.x/flow_>=v0.47.x
    
    type ExtractReturnType = <Return>((...rest: any[]) => Return) => Return;
    
    
    Severity: Major
    Found in flow-typed/npm/reselect_v4.x.x.js - About 2 days to fix

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

          zip<+T, A, B, C, D, E, F, G, H>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 1 day to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1203..1212
      flow-typed/npm/rxjs_v6.x.x.js on lines 1436..1445

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

      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

          withLatestFrom<+T, A, B, C, D, E, F, G, H>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 1 day to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1203..1212
      flow-typed/npm/rxjs_v6.x.x.js on lines 1312..1321

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

      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

          combineLatest<+T, A, B, C, D, E, F, G, H>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 1 day to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1312..1321
      flow-typed/npm/rxjs_v6.x.x.js on lines 1436..1445

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

      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

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

          fromEvent: (<+T>(
            element: any,
            eventName: string,
            ...none: Array<void>
          ) => rxjs$Observable<T>) & (<+T>(
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 1 other location - About 7 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1722..1741

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

      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

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

          fromEvent: (<+T>(
            element: any,
            eventName: string,
            ...none: Array<void>
          ) => rxjs$Observable<T>) & (<+T>(
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 1 other location - About 7 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 615..634

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

      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

          withLatestFrom<+T, A, B, C, D, E, F, G>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 7 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1214..1222
      flow-typed/npm/rxjs_v6.x.x.js on lines 1323..1331

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

      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

          zip<+T, A, B, C, D, E, F, G>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 7 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1214..1222
      flow-typed/npm/rxjs_v6.x.x.js on lines 1447..1455

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

      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

          combineLatest<+T, A, B, C, D, E, F, G>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 7 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1323..1331
      flow-typed/npm/rxjs_v6.x.x.js on lines 1447..1455

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

      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

          zip<A, B, C, D, E, F, G, H>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 1 other location - About 7 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 505..514

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

      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

          forkJoin<A, B, C, D, E, F, G, H>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 1 other location - About 7 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 778..787

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

      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

          zip<+T, A, B, C, D, E, F, G>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 6 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1259..1268
      flow-typed/npm/rxjs_v6.x.x.js on lines 1492..1501

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

      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

          withLatestFrom<+T, A, B, C, D, E, F, G>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 6 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1259..1268
      flow-typed/npm/rxjs_v6.x.x.js on lines 1368..1377

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

      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

          combineLatest<+T, A, B, C, D, E, F, G>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 6 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1368..1377
      flow-typed/npm/rxjs_v6.x.x.js on lines 1492..1501

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

      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

      export function patchFileReadersForTest(...replacements: Function[]) {
        let original: any;
      
        beforeEach(() => {
          original = fileReaders.slice(0);
      Severity: Major
      Found in lib/FileReaders.js and 2 other locations - About 6 hrs to fix
      lib/Columns.js on lines 37..54
      lib/NoteFields.js on lines 37..54

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

      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

      export function patchColumnsForTest(...replacements: Function[]) {
        let original: any;
      
        beforeEach(() => {
          original = columns.slice(0);
      Severity: Major
      Found in lib/Columns.js and 2 other locations - About 6 hrs to fix
      lib/FileReaders.js on lines 22..39
      lib/NoteFields.js on lines 37..54

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

      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

      export function patchNoteFieldsForTest(...replacements: Function[]) {
        let original: any;
      
        beforeEach(() => {
          original = noteFields.slice(0);
      Severity: Major
      Found in lib/NoteFields.js and 2 other locations - About 6 hrs to fix
      lib/Columns.js on lines 37..54
      lib/FileReaders.js on lines 22..39

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

      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

          combineLatest<+T, A, B, C, D, E, F>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 6 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1333..1340
      flow-typed/npm/rxjs_v6.x.x.js on lines 1457..1464

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

      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

          withLatestFrom<+T, A, B, C, D, E, F>(
            a: rxjs$Observable<A>,
            b: rxjs$Observable<B>,
            c: rxjs$Observable<C>,
            d: rxjs$Observable<D>,
      Severity: Major
      Found in flow-typed/npm/rxjs_v6.x.x.js and 2 other locations - About 6 hrs to fix
      flow-typed/npm/rxjs_v6.x.x.js on lines 1224..1231
      flow-typed/npm/rxjs_v6.x.x.js on lines 1333..1340

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

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

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

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

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

      Refactorings

      Further Reading

      Severity
      Category
      Status
      Source
      Language