Showing 551 of 551 total issues
Similar blocks of code found in 4 locations. Consider refactoring. Open
declare type ContextSpawnFn =
& (<R, C: Context, Fn: Fn0<R>>(cfn: [C, Fn], ...rest: Array<void>) => SpawnEffect0<C, Fn>)
& (<T1, R, C: Context, Fn: Fn1<T1, R>>(cfn: [C, Fn], t1: T1, ...rest: Array<void>) => SpawnEffect1<C, Fn, T1>)
& (<T1, T2, R, C: Context, Fn: Fn2<T1, T2, R>>(cfn: [C, Fn], t1: T1, t2: T2, ...rest: Array<void>) => SpawnEffect2<C, Fn, T1, T2>)
& (<T1, T2, T3, R, C: Context, Fn: Fn3<T1, T2, T3, R>>(cfn: [C, Fn], t1: T1, t2: T2, t3: T3, ...rest: Array<void>) => SpawnEffect3<C, Fn, T1, T2, T3>)
- Read upRead up
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 855.
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
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 4 locations. Consider refactoring. Open
declare type CallFn =
& ContextCallFn
& (<R, Fn: Fn0<R>>(fn: Fn, ...rest: Array<void>) => CallEffect0<null, Fn>)
& (<T1, R, Fn: Fn1<T1, R>>(fn: Fn, t1: T1, ...rest: Array<void>) => CallEffect1<null, Fn, T1>)
& (<T1, T2, R, Fn: Fn2<T1, T2, R>>(fn: Fn, t1: T1, t2: T2, ...rest: Array<void>) => CallEffect2<null, Fn, T1, T2>)
- Read upRead up
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 748.
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
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 4 locations. Consider refactoring. Open
declare type CpsFn =
& ContextCpsFn
& (<R, Fn: Fn0<R>>(fn: Fn, ...rest: Array<void>) => CpsEffect0<null, Fn>)
& (<T1, R, Fn: Fn1<T1, R>>(fn: Fn, t1: T1, ...rest: Array<void>) => CpsEffect1<null, Fn, T1>)
& (<T1, T2, R, Fn: Fn2<T1, T2, R>>(fn: Fn, t1: T1, t2: T2, ...rest: Array<void>) => CpsEffect2<null, Fn, T1, T2>)
- Read upRead up
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 748.
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
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 4 locations. Consider refactoring. Open
declare type ForkFn =
& ContextForkFn
& (<R, Fn: Fn0<R>>(fn: Fn, ...rest: Array<void>) => ForkEffect0<null, Fn>)
& (<T1, R, Fn: Fn1<T1, R>>(fn: Fn, t1: T1, ...rest: Array<void>) => ForkEffect1<null, Fn, T1>)
& (<T1, T2, R, Fn: Fn2<T1, T2, R>>(fn: Fn, t1: T1, t2: T2, ...rest: Array<void>) => ForkEffect2<null, Fn, T1, T2>)
- Read upRead up
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 748.
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
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 4 locations. Consider refactoring. Open
declare type SpawnFn =
& ContextSpawnFn
& (<R, Fn: Fn0<R>>(fn: Fn, ...rest: Array<void>) => SpawnEffect0<null, Fn>)
& (<T1, R, Fn: Fn1<T1, R>>(fn: Fn, t1: T1, ...rest: Array<void>) => SpawnEffect1<null, Fn, T1>)
& (<T1, T2, R, Fn: Fn2<T1, T2, R>>(fn: Fn, t1: T1, t2: T2, ...rest: Array<void>) => SpawnEffect2<null, Fn, T1, T2>)
- Read upRead up
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 748.
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
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
File ru.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File th.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=1; plural=0;",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File de.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=2; plural=(n != 1);",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File id.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=1; plural=0;",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File zh_cn.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=1; plural=0;",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File es.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=2; plural=(n != 1);",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File ja.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"project-id-version": "PACKAGE VERSION",
"pot-creation-date": "",
"po-revision-date": "2017-06-22 13:21+0000",
File pt.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=2; plural=(n != 1);",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File zh_tw.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=1; plural=0;",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File fr.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=2; plural=(n > 1);",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File nl_BE.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"project-id-version": "PACKAGE VERSION",
"report-msgid-bugs-to": "",
"pot-creation-date": "2017-07-04 18:26+0200",
File vi.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=1; plural=0;",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File en.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"project-id-version": "",
"pot-creation-date": "",
"po-revision-date": "2018-01-24 12:08+0000",
File ach.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=2; plural=(n > 1);",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",
File it.js
has 1235 lines of code (exceeds 250 allowed). Consider refactoring. Open
export default {
"": {
"plural-forms": "nplurals=2; plural=(n != 1);",
"x-generator": "crowdin.com",
"x-crowdin-project": "nexy-gen",